From 4bc14f43d0825ebfa00bd6f53b1173d69bcd2ae4 Mon Sep 17 00:00:00 2001 From: Greg Watts Date: Fri, 20 Dec 2024 17:50:28 -0600 Subject: [PATCH] Skip -Xfuture test for Java 24+ --- .../fat/src/com/ibm/ws/kernel/boot/ServerStartTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev/com.ibm.ws.kernel.boot_fat/fat/src/com/ibm/ws/kernel/boot/ServerStartTest.java b/dev/com.ibm.ws.kernel.boot_fat/fat/src/com/ibm/ws/kernel/boot/ServerStartTest.java index 40faceefce1..90cce2696ba 100644 --- a/dev/com.ibm.ws.kernel.boot_fat/fat/src/com/ibm/ws/kernel/boot/ServerStartTest.java +++ b/dev/com.ibm.ws.kernel.boot_fat/fat/src/com/ibm/ws/kernel/boot/ServerStartTest.java @@ -35,6 +35,7 @@ import com.ibm.websphere.simplicity.ProgramOutput; import com.ibm.websphere.simplicity.log.Log; +import componenttest.annotation.MaximumJavaLevel; import componenttest.custom.junit.runner.FATRunner; import componenttest.topology.impl.LibertyServer; import componenttest.topology.impl.LibertyServerFactory; @@ -175,6 +176,7 @@ public void testServerStartViaSymbolicLink() throws Exception { } @Test + @MaximumJavaLevel(javaLevel = 23) // -Xfuture argument is no longer available in Java 24+ /** * This test ensures that the servers starts without error when using the -Xfuture command line * argument. This argument enforces strict class file verification. One customer ran into