This is an automated email from the ASF dual-hosted git repository.
dlmarion pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/main by this push:
new b3266c538f Bump compiler source and target versions from Java 11 to
Java 17 (#5830)
b3266c538f is described below
commit b3266c538fd5932f2d5dc1feb59d5e2ab3acbe90
Author: Dave Marion <[email protected]>
AuthorDate: Thu Aug 28 09:02:49 2025 -0400
Bump compiler source and target versions from Java 11 to Java 17 (#5830)
---
pom.xml | 6 +++---
.../main/java/org/apache/accumulo/test/zookeeper/ZooCacheIT.java | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index 50ed3d5b7d..716da11d93 100644
--- a/pom.xml
+++ b/pom.xml
@@ -122,9 +122,9 @@
<failsafe.reuseForks>false</failsafe.reuseForks>
<!-- prevent introduction of new compiler warnings -->
<maven.compiler.failOnWarning>true</maven.compiler.failOnWarning>
- <maven.compiler.release>11</maven.compiler.release>
- <maven.compiler.source>11</maven.compiler.source>
- <maven.compiler.target>11</maven.compiler.target>
+ <maven.compiler.release>17</maven.compiler.release>
+ <maven.compiler.source>17</maven.compiler.source>
+ <maven.compiler.target>17</maven.compiler.target>
<maven.javadoc.failOnWarnings>true</maven.javadoc.failOnWarnings>
<maven.site.deploy.skip>true</maven.site.deploy.skip>
<maven.site.skip>true</maven.site.skip>
diff --git
a/test/src/main/java/org/apache/accumulo/test/zookeeper/ZooCacheIT.java
b/test/src/main/java/org/apache/accumulo/test/zookeeper/ZooCacheIT.java
index 1284bdb82e..352cac37de 100644
--- a/test/src/main/java/org/apache/accumulo/test/zookeeper/ZooCacheIT.java
+++ b/test/src/main/java/org/apache/accumulo/test/zookeeper/ZooCacheIT.java
@@ -293,7 +293,7 @@ public class ZooCacheIT {
});
}
- @SuppressWarnings("deprecation")
+ @SuppressWarnings({"deprecation", "removal"})
@Test
public void testDisconnect() throws Exception {
testDisruptingZookeeper("disconnect", () -> {