diff options
Diffstat (limited to 'tests/src/test/java/org/aspectj/systemtest/ajc198/SanityTestsJava17.java')
-rw-r--r-- | tests/src/test/java/org/aspectj/systemtest/ajc198/SanityTestsJava17.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/src/test/java/org/aspectj/systemtest/ajc198/SanityTestsJava17.java b/tests/src/test/java/org/aspectj/systemtest/ajc198/SanityTestsJava17.java index 10363e965..0bfb33c7b 100644 --- a/tests/src/test/java/org/aspectj/systemtest/ajc198/SanityTestsJava17.java +++ b/tests/src/test/java/org/aspectj/systemtest/ajc198/SanityTestsJava17.java @@ -9,8 +9,8 @@ package org.aspectj.systemtest.ajc198; import junit.framework.Test; import org.aspectj.apache.bcel.Constants; +import org.aspectj.testing.JavaVersionSpecificXMLBasedAjcTestCase; import org.aspectj.testing.XMLBasedAjcTestCase; -import org.aspectj.testing.XMLBasedAjcTestCaseForJava17OrLater; /* * Some very trivial tests that help verify things are OK. @@ -19,10 +19,14 @@ import org.aspectj.testing.XMLBasedAjcTestCaseForJava17OrLater; * * @author Alexander Kriegisch */ -public class SanityTestsJava17 extends XMLBasedAjcTestCaseForJava17OrLater { +public class SanityTestsJava17 extends JavaVersionSpecificXMLBasedAjcTestCase { public static final int bytecode_version_for_JDK_level = Constants.ClassFileVersion.of(17).MAJOR; + public SanityTestsJava17() { + super(17); + } + // Incredibly trivial test programs that check the compiler works at all (these are easy-ish to debug) public void testSimpleJava_A() { runTest("simple - a"); |