Skip to content

Build Pulsar on JDK11 - keep binary compatibility with JDK8 #9578

@eolivelli

Description

@eolivelli

This is an umbrella issue about moving the build of Pulsar to JDK11.

The outcome of this work will be to switch the development on Pulsar to JDK11, but the binary artifacts produced by the build will be 100% compatible with JDK8.
So users will be able to run the server side on JDK8 and to use JDK8 in order to run the Java client.

At the end of this work:

  • You can build Pulsar on JDK11
  • Tests pass on JDK11
  • Docker images will be switched to JDK11

This issue is not about removing the support to JDK11, and in fact most of the work will be in the direction of keeping the compatibility with JDK8 even while working on JDK11

List of issues/PRs on JDK11:

This is a test PR that runs tests on JDK11 on @eolivelli fork
eolivelli#6

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/staletype/enhancementThe enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions