-
Notifications
You must be signed in to change notification settings - Fork 7.3k
ZOOKEEPER-5039: Raise to min JDK 17, also build, test with JDK25 #2376
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
base: master
Are you sure you want to change the base?
Changes from all commits
9a2dbaa
d9de4c2
c16e8fc
b13cd12
c17f9ed
942f0e7
c6611da
6b2b7a9
7ebeb3e
570ecd8
36b3f83
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,7 +30,7 @@ pipeline { | |
|
|
||
| tools { | ||
| maven "maven_latest" | ||
| jdk "jdk_1.8_latest" | ||
| jdk "jdk_17_latest" | ||
| } | ||
|
|
||
| stages { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,5 +7,23 @@ | |
| <!-- this problem is to be addressed in ZOOKEEPER-3227 --> | ||
| <Bug pattern="DM_DEFAULT_ENCODING"/> | ||
|
|
||
| <!-- newly detected by SpotBugs 4.9.3; pre-existing code, not regressions --> | ||
| <Bug pattern="EI_EXPOSE_REP"/> | ||
| <Bug pattern="EI_EXPOSE_REP2"/> | ||
| <Bug pattern="CT_CONSTRUCTOR_THROW"/> | ||
| <Bug pattern="AT_STALE_THREAD_WRITE_OF_PRIMITIVE"/> | ||
| <Bug pattern="AT_NONATOMIC_64BIT_PRIMITIVE"/> | ||
| <Bug pattern="AT_NONATOMIC_OPERATIONS_ON_SHARED_VARIABLE"/> | ||
| <Bug pattern="PA_PUBLIC_PRIMITIVE_ATTRIBUTE"/> | ||
| <Bug pattern="DCN_NULLPOINTER_EXCEPTION"/> | ||
| <Bug pattern="US_USELESS_SUPPRESSION_ON_METHOD"/> | ||
| <Bug pattern="US_USELESS_SUPPRESSION_ON_CLASS"/> | ||
| <Bug pattern="US_USELESS_SUPPRESSION_ON_FIELD"/> | ||
| <Bug pattern="DMI_RANDOM_USED_ONLY_ONCE"/> | ||
| <Bug pattern="SS_SHOULD_BE_STATIC"/> | ||
| <Bug pattern="NP_UNWRITTEN_FIELD"/> | ||
| <Bug pattern="SING_SINGLETON_HAS_NONPRIVATE_CONSTRUCTOR"/> | ||
| <Bug pattern="MS_EXPOSE_REP"/> | ||
|
Comment on lines
+11
to
+26
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually this suppression list are very broad. They are including real concurrency bugs (AT_STALE_THREAD_WRITE_OF_PRIMITIVE, AT_NONATOMIC_OPERATIONS_ON_SHARED_VARIABLE) and design issues (CT_CONSTRUCTOR_THROW, EI_EXPOSE_REP). Should we create a follow-up Jira to triage Or should we suppress these by class so that these are not suppressed everywhere? We have 198 class/pattern combinations across these 16 patterns. |
||
|
|
||
| </FindBugsFilter> | ||
|
|
||
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.
Since the old
jdkandopenjdktags are deprecated, we should use the newer vendor-specific tags. Use Eclipse Temurin since we already use it in our GH: Actions workflows.Also update Maven to 3.9.6 - it includes several improvements.