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

Remove JavaVersion, use builtin Runtime.Version to deal with runtime versions #3006

Merged
merged 1 commit into from
Apr 20, 2022

Conversation

reta
Copy link
Collaborator

@reta reta commented Apr 20, 2022

Signed-off-by: Andriy Redko [email protected]

Description

Since JDK-9, the JDK provide standard means to manipulate runtime version using Runtime and Runtime.Version. It makes sense to remove JavaVersion in favour of standard Runtime.Version.

Also, since 2.0 sets JDK-11 as baseline, we could drop all checks for JDK-8/9/10

Issues Resolved

Closes #3003

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

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.

@reta reta requested a review from a team as a code owner April 20, 2022 19:17
@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Check success caadb4d
Log 4648

Reports 4648

Copy link
Member

@dblock dblock left a comment

Choose a reason for hiding this comment

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

nice and easy

@dblock dblock merged commit 3b7e654 into opensearch-project:main Apr 20, 2022
@dblock dblock added the backport 2.x Backport to 2.x branch label Apr 20, 2022
@dblock
Copy link
Member

dblock commented Apr 20, 2022

Labelled to backport to 2.x but not 2.0. LMK if you feel otherwise.

@reta
Copy link
Collaborator Author

reta commented Apr 20, 2022

Labelled to backport to 2.x but not 2.0. LMK if you feel otherwise.

Thanks @dblock ! I think @nknize is reluctant to make any changes in 2.0 before release, or this one could go?

dblock pushed a commit that referenced this pull request Apr 20, 2022
…versions (#3006) (#3013)

Signed-off-by: Andriy Redko <[email protected]>
(cherry picked from commit 3b7e654)

Co-authored-by: Andriy Redko <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x Backport to 2.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove JavaVersion in favour of standard Runtime.Version
3 participants