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 | 6 |
1 files changed, 3 insertions, 3 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 619114dfa..221e562b8 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.ClassFileVersion.of(6).MAJOR; + public static final int bytecode_version_for_JDK_level = Constants.ClassFileVersion.of(8).MAJOR; // Incredibly trivial test programs that check the compiler works at all (these are easy-ish to debug) public void testSimpleJava_A() { @@ -81,9 +81,9 @@ public class SanityTests extends org.aspectj.testing.XMLBasedAjcTestCase { checkVersion("A", bytecode_version_for_JDK_level, 0); } - public void testVersionCorrect4() throws ClassNotFoundException {// check it is 49.0 when -1.5 is specified + public void testVersionCorrect4() throws ClassNotFoundException { runTest("simple - m"); - checkVersion("A", Constants.ClassFileVersion.of(5).MAJOR, 0); + checkVersion("A", Constants.ClassFileVersion.of(8).MAJOR, 0); } // Check the stackmap stuff appears for methods in a Java6 file |