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

Update Java version to 17 #16

Merged
merged 2 commits into from
Aug 23, 2023
Merged

Update Java version to 17 #16

merged 2 commits into from
Aug 23, 2023

Conversation

willmostly
Copy link
Contributor

@willmostly willmostly commented Aug 23, 2023

This updates the source and target Java versions to 17. Tests currently failing on main with Java 11 are disabled by this PR.

Fixes: #12

@cla-bot cla-bot bot added the cla-signed label Aug 23, 2023
<configuration>
<source>9</source>
<target>9</target>
<argLine>--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED</argLine>
Copy link
Member

Choose a reason for hiding this comment

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

We should look into add this to the .mvn/jvm.config maybe .. but this works for now

Copy link
Contributor Author

Choose a reason for hiding this comment

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

aha, I was unaware of .mvn/jvm.config. That does seem superior

Copy link
Member

@mosabua mosabua left a comment

Choose a reason for hiding this comment

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

Nice cleanup. @vishalya can look at fixing the test.

@mosabua mosabua merged commit 7900850 into trinodb:main Aug 23, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Move to Java 17
2 participants