Skip to content

Require JDK 11 or 17 for building project #3140

Open
@shakuzen

Description

While we intend to continue supporting JDK 8 compatibility at runtime, we have a build matrix that will continue to get more complicated as more LTS Java releases become available. We recently ran into #3136 where a sample needs JDK 11+ with the latest dependencies. Released artifacts are built with the latest available JDK, but we also have builds for each LTS to ensure the project can be built with older versions. This is a convenience to contributors, but it is becoming more reasonable to require a contributor to have a recent version of the JDK configured for building the project. Using the compiler -release flag, we will ensure API compatibility with JDK 8 while building with newer JDKs.

Metadata

Assignees

No one assigned

    Labels

    buildA change in our build-systemtype: taskA general task

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions