Skip to content

Conversation

@harshith-21
Copy link
Contributor

What changes were proposed in this pull request?

AMBARI-26186 : Add Java 17 support to getJavaVersion method

How was this patch tested?

Took that function snippet out and ran seperatly in jdk17 env and its recognising the java version correctly as follows

$ > java JavaVersionCheck
Detected Java Version: 17

otherwise it would be like

$ > java JavaVersionCheck
Detected Java Version: -1 

Copy link
Contributor

@arshadmohammad arshadmohammad left a comment

Choose a reason for hiding this comment

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

LGTM +1

@arshadmohammad arshadmohammad merged commit 8433094 into apache:trunk Oct 16, 2024
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.

2 participants