-
Notifications
You must be signed in to change notification settings - Fork 4k
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
THRIFT-5644: java to use jdk 17 and upgrade minimal language level to 11 #2686
Conversation
e71533e
to
3daf46c
Compare
even if the cross tests might see some errors given they are not related to this fix i'll continue to merge this as a fix because it has resolved the long standing Java TLS error |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's reasonable to use the latest LTS Java for development on the next version of Thrift. I also think it would be reasonable to make Java 11 the minimum instead of 8 at this point.
turns out that upgrading to java 17 won't solve the TSL runtime error during cross test |
because we want to push for raising minimal Java version to 11 we'd need to base on #2690 |
03250b0
to
a54a7b5
Compare
37176f2
to
cf85a97
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm in favor of bumping the min java to 11 for runtime, and 17 for build time. I'm not sure I understand the issue with the cross test failure, but it seems like that's a separate issue from this PR.
@@ -180,7 +180,7 @@ Last updated: October 1, 2017 | |||
| erlang | OTP-18 | OTP-23 | | | |||
| go | 1.15.10 | 1.16.2 | | | |||
| haxe | 3.2.1 | 3.4.4 | THRIFT-4352: avoid 3.4.2 | | |||
| java | 1.8.0\_191 | 11.0.3 | | | |||
| java | 1.8.0\_191 | 17 | | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should also update the min version here? I think we dropped support to jdk8 with this change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this column is for xenial but we have deprecated it recently...
lib/java/Makefile.am
Outdated
--console=plain \ | ||
--stacktrace |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--console=plain \ | |
--stacktrace | |
--console=plain |
@@ -180,7 +180,7 @@ Last updated: October 1, 2017 | |||
| erlang | OTP-18 | OTP-23 | | | |||
| go | 1.15.10 | 1.16.2 | | | |||
| haxe | 3.2.1 | 3.4.4 | THRIFT-4352: avoid 3.4.2 | | |||
| java | 1.8.0\_191 | 11.0.3 | | | |||
| java | 1.8.0\_191 | 17 | | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this column is for xenial but we have deprecated it recently...
java to use jdk 17, this is a second try after #2662
[skip ci]
anywhere in the commit message to free up build resources.