Skip to content

Commit

Permalink
Merge pull request #30452 from gjwatts/remove-xfuture-from-kernel-fat…
Browse files Browse the repository at this point in the history
…-java-24

Skip -Xfuture test for Java 24+
  • Loading branch information
gjwatts authored Dec 25, 2024
2 parents 60eb4ae + 4bc14f4 commit 36e806d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 36e806d

Please sign in to comment.