Skip to content

[PROPOSAL] Set OpenSearch 3.0.0 baseline JDK version to JDK-21 #10745

@reta

Description

@reta

Is your feature request related to a problem? Please describe.
Currently, the 3.0.0 baseline JDK version is set to JDK-11. The Apache Lucene 10 is going to require JDK-21 and it would make sense to align the OpenSearch JDK baseline requirements with that.

Describe the solution you'd like
Set the target / source level to JDK-17. Allow to use new features of the languages and the standard library.

Describe alternatives you've considered
Why not JDK-21? As of today, for a few reasons:

Depending on the release date of 3.0.0, we may reconsider the decision for a more aggressing JDK baseline.

Additional context
Backports to 2.x will be more complicated

Metadata

Metadata

Assignees

Labels

BuildBuild Tasks/Gradle Plugin, groovy scripts, build tools, Javadoc enforcement.enhancementEnhancement or improvement to existing feature or requestv3.0.0Issues and PRs related to version 3.0.0

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions