Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set minimum Java version to 11 #26

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

andrross
Copy link
Member

Description

Set minimum Java version to 11 on the 2.17 branch. This will need to be forward ported to the 2.x branch as well.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Also add Java 11 and 17 to the precommit workflows.

Signed-off-by: Andrew Ross <[email protected]>
Copy link
Member

@gaiksaya gaiksaya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the tests are passing in the CI

Copy link
Member

@peterzhuamazon peterzhuamazon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To add a bit more context, 2.x is still following the compatibility of JDK11.
https://opensearch.org/docs/latest/install-and-configure/install-opensearch/index/#java-compatibility

The JDK21 compatibility is only for main/3.0.0:
opensearch-project/OpenSearch#14011

Thanks @andrross for the change here.
And also include the builds for 11 and 17 jdk check.

@peterzhuamazon peterzhuamazon merged commit b38bad9 into opensearch-project:2.17 Sep 12, 2024
11 of 12 checks passed
@andrross andrross deleted the java-11 branch September 13, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants