-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
HBASE-28676 Make pre commit build for 3.x to only run jdk 17 test #6001
Conversation
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
Filed HBASE-28679 for the xml problem, and we can not move releaseTarget to 17 because there are tests failures on mockito, which may require code change. Plan to solve it in HBASE-28675. |
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
The error for compile for the current master branch is expected, since we change to use jdk17 for compiling, we need to add some compile args for error prone. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
OK, good. Xml check can pass now. |
Merging this will cause the nightly build for master and branch-3 to fail since we still use jdk11 for general checks. Will start to work on HBASE-28678 ASAP after merging this PR. |
@@ -809,7 +809,7 @@ | |||
<tar.name>${project.build.finalName}.tar.gz</tar.name> | |||
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm</maven.build.timestamp.format> | |||
<buildDate>${maven.build.timestamp}</buildDate> | |||
<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.
Big jump!
@@ -809,7 +809,7 @@ | |||
<tar.name>${project.build.finalName}.tar.gz</tar.name> | |||
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm</maven.build.timestamp.format> | |||
<buildDate>${maven.build.timestamp}</buildDate> | |||
<compileSource>1.8</compileSource> | |||
<compileSource>17</compileSource> | |||
<releaseTarget>8</releaseTarget> |
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.
What does it mean to have compile target at 17 but release target at 8? Can javac emit bytecode for 17 features for an 8 VM?
We are dropping JDK8 runtime support, so I think we can move the release target up as well.
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.
ReleaseTarget 17 will break mockito, need to dig more...
@ndimiduk See here, I tried to jump to 17 too for releaseTarget at first, but it breaks mockito, so I plan to address it in HBASE-28675 since it may require java code changes. |
) Signed-off-by: Nick Dimiduk <ndimiduk@apache.org> (cherry picked from commit 80516d7)
Makes sense. Thanks @Apache9 ! |
No description provided.