-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-25465 Use javac --release option for supporting cross version compilation in create-release #3974
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
Conversation
ndimiduk
commented
Dec 23, 2021
- Update our jdk11 build profile in the pom so that it uses the additional flag on javac, requires maven 3.6+.
- update create-release Dockerfile to use jdk11-headless
|
Perhaps the change to |
|
💔 -1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
Yes, let's have separated issues for these two changes. The create-release script needs manual verification. |
|
💔 -1 overall
This message was automatically generated. |
3166260 to
6e1aa66
Compare
…ompilation Update our jdk11 build profile in the pom so that it uses the additional flag on javac, requires maven 3.6+.
6e1aa66 to
157a444
Compare
Okay, I split out the changes. This issue is just the POM change. |
| </maven.build.timestamp.format> | ||
| <buildDate>${maven.build.timestamp}</buildDate> | ||
| <!-- these two control the Java language version and JVM runtime version supported --> | ||
| <compileSource>1.8</compileSource> |
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 believe that compile source and target allow setting 8 in addition to 1.8 while release requires 8 - can we standardize on a single value for all of these instead of have both 1.8 and 8 around?
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.
|
It's never as simple as that... |
|
💔 -1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
I'm pretty sure this will not work with today's version of JDK11 ; we appear to be blocked by JDK-8214165. |
|
💔 -1 overall
This message was automatically generated. |