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 Java 9/10 native supports #4795

Merged
merged 1 commit into from
Feb 21, 2019
Merged

Conversation

JasonFengJ9
Copy link
Member

Remove Java 9/10 native supports

Replaced J2SE_19 with J2SE_V11;
Removed redundant J2SE_VERSION(vm) & with J2SE_RELEASE_MASK or J2SE_VERSION_MASK.

Reviewer: @DanHeidinga

Signed-off-by: Jason Feng fengj@ca.ibm.com

@pshipton
Copy link
Member

I think we should change all the runtime checks to #ifdef's. The build is already created specific to a Java version, I don't think there is any advantage in using runtime checks.

@JasonFengJ9
Copy link
Member Author

I think we should change all the runtime checks to #ifdef's. The build is already created specific to a Java version, I don't think there is any advantage in using runtime checks.

Agreed, it does make sense to replace the runtime check with #ifdef.

@DanHeidinga
Copy link
Member

The only caution with #ifdefs is I want to ensure that we don't end up maintaining N-variants of the code ifdef'd differently.

The costs of runtime checks helps force us to use them sparingly and therefore make as little code version specific as possible.

Replaced J2SE_19 with J2SE_V11;
Removed redundant J2SE_VERSION(vm) & with J2SE_RELEASE_MASK or
J2SE_VERSION_MASK.


Signed-off-by: Jason Feng <fengj@ca.ibm.com>
@pshipton
Copy link
Member

jenkins test sanity win jdk8,jdk11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants