diff options
Diffstat (limited to 'tests/src/test/java/org/aspectj/systemtest/ajc160/SanityTests.java')
-rw-r--r-- | tests/src/test/java/org/aspectj/systemtest/ajc160/SanityTests.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/test/java/org/aspectj/systemtest/ajc160/SanityTests.java b/tests/src/test/java/org/aspectj/systemtest/ajc160/SanityTests.java index 4a7c39a01..619114dfa 100644 --- a/tests/src/test/java/org/aspectj/systemtest/ajc160/SanityTests.java +++ b/tests/src/test/java/org/aspectj/systemtest/ajc160/SanityTests.java @@ -26,7 +26,7 @@ import junit.framework.Test; * rather than executing them. */ public class SanityTests extends org.aspectj.testing.XMLBasedAjcTestCase { - public static final int bytecode_version_for_JDK_level = Constants.MAJOR_1_6; + public static final int bytecode_version_for_JDK_level = Constants.ClassFileVersion.of(6).MAJOR; // Incredibly trivial test programs that check the compiler works at all (these are easy-ish to debug) public void testSimpleJava_A() { @@ -83,7 +83,7 @@ public class SanityTests extends org.aspectj.testing.XMLBasedAjcTestCase { public void testVersionCorrect4() throws ClassNotFoundException {// check it is 49.0 when -1.5 is specified runTest("simple - m"); - checkVersion("A", Constants.MAJOR_1_5, 0); + checkVersion("A", Constants.ClassFileVersion.of(5).MAJOR, 0); } // Check the stackmap stuff appears for methods in a Java6 file |