Skip to content

Commit 8b25557

Browse files
Add support for Java 25
1 parent c5710a0 commit 8b25557

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

.github/workflows/maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
jdk: ['8', '11', '17', '21']
19+
jdk: ['8', '11', '17', '21', '25']
2020
os: [ubuntu-latest, windows-latest]
2121

2222
steps:

pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,15 @@
240240
</plugins>
241241
</build>
242242
</profile>
243+
<profile>
244+
<id>spotbugs-java11</id>
245+
<activation>
246+
<jdk>[11,)</jdk>
247+
</activation>
248+
<properties>
249+
<findbugs.version>4.8.6.7</findbugs.version>
250+
</properties>
251+
</profile>
243252
</profiles>
244253

245254
<reporting>

src/tools/resources/findbugs/exclusions.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
<Bug pattern="EI_EXPOSE_REP2"/>
77
<Bug pattern="MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR"/>
88
<Bug pattern="MS_EXPOSE_REP"/>
9+
<Bug pattern="CT_CONSTRUCTOR_THROW"/>
10+
<Bug pattern="URF_UNREAD_FIELD"/>
11+
<Bug pattern="AA_ASSERTION_OF_ARGUMENTS"/>
12+
<Bug pattern="SING_SINGLETON_GETTER_NOT_SYNCHRONIZED"/>
13+
<Bug pattern="SING_SINGLETON_HAS_NONPRIVATE_CONSTRUCTOR"/>
14+
<Bug pattern="SING_SINGLETON_IMPLEMENTS_SERIALIZABLE"/>
15+
<Bug pattern="UWF_UNWRITTEN_FIELD"/>
916
</Or>
1017
</Match>
1118
<Match>

0 commit comments

Comments
 (0)