Add support for Java 25
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index a306173..824c3da 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -16,7 +16,7 @@
strategy:
fail-fast: false
matrix:
- jdk: ['8', '11', '17', '21']
+ jdk: ['8', '11', '17', '21', '25']
os: [ubuntu-latest, windows-latest]
steps:
diff --git a/pom.xml b/pom.xml
index 6b4aa16..b91efa3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -240,6 +240,15 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>spotbugs-java11</id>
+ <activation>
+ <jdk>[11,)</jdk>
+ </activation>
+ <properties>
+ <findbugs.version>4.8.6.7</findbugs.version>
+ </properties>
+ </profile>
</profiles>
<reporting>
diff --git a/src/tools/resources/findbugs/exclusions.xml b/src/tools/resources/findbugs/exclusions.xml
index 935cb56..768f5c1 100644
--- a/src/tools/resources/findbugs/exclusions.xml
+++ b/src/tools/resources/findbugs/exclusions.xml
@@ -6,6 +6,13 @@
<Bug pattern="EI_EXPOSE_REP2"/>
<Bug pattern="MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR"/>
<Bug pattern="MS_EXPOSE_REP"/>
+ <Bug pattern="CT_CONSTRUCTOR_THROW"/>
+ <Bug pattern="URF_UNREAD_FIELD"/>
+ <Bug pattern="AA_ASSERTION_OF_ARGUMENTS"/>
+ <Bug pattern="SING_SINGLETON_GETTER_NOT_SYNCHRONIZED"/>
+ <Bug pattern="SING_SINGLETON_HAS_NONPRIVATE_CONSTRUCTOR"/>
+ <Bug pattern="SING_SINGLETON_IMPLEMENTS_SERIALIZABLE"/>
+ <Bug pattern="UWF_UNWRITTEN_FIELD"/>
</Or>
</Match>
<Match>