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

[query] remove incompatibilities with java 11 #12171

Merged
merged 2 commits into from
Sep 10, 2022

Conversation

iris-garden
Copy link
Contributor

Between Java 8 and Java 11, the .newInstance() method and the -Xlint:-sunapi compiler flag were deprecated, which prevents hail from being built with the Java 11 JDK, despite the docs suggesting otherwise. This change replaces usages of .newInstance() with .getDeclaredConstructor().newinstance() and of -Xlint:-sunapi with -XDignore.symbol.file.

@danking danking merged commit 1a42362 into hail-is:main Sep 10, 2022
@iris-garden iris-garden deleted the query/java-11 branch September 13, 2022 13:50
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.

3 participants