From 68ad86eb6ed70c15ad4209295903a9a977b001f6 Mon Sep 17 00:00:00 2001 From: Alexander Kriegisch Date: Sun, 21 Mar 2021 02:16:20 +0700 Subject: Add Java 16 test suite for AspectJ 1.9.7 + test refactorings - Test all features which were preview in 14+15 and are now final in 16, compiling them with language level 16. - For Java 15 we only have sanity tests (and of course the Java <14 tests), compiling Java 16 features to target 15 does not seem to work. - Test remaining Java 16 preview feature (sealed classes). - Instead of overriding runTest(String) in several base classes like XMLBasedAjcTestCaseForJava*Only or XMLBasedAjcTestCaseForJava*OrLater, we now override setUp() from JUnit's TestCase base class. This will run before runTest(String) and make the tests fail much faster, if a user tries to run them on the wrong VM. Signed-off-by: Alexander Kriegisch --- bcel-builder/src/main/java/org/aspectj/apache/bcel/Constants.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bcel-builder') diff --git a/bcel-builder/src/main/java/org/aspectj/apache/bcel/Constants.java b/bcel-builder/src/main/java/org/aspectj/apache/bcel/Constants.java index fbf88ae88..285d024b6 100644 --- a/bcel-builder/src/main/java/org/aspectj/apache/bcel/Constants.java +++ b/bcel-builder/src/main/java/org/aspectj/apache/bcel/Constants.java @@ -94,8 +94,8 @@ public interface Constants { short MINOR_14 = 0; short MAJOR_15 = 59; short MINOR_15 = 0; -// short MAJOR_16 = 60; -// short MINOR_16 = 0; + short MAJOR_16 = 60; + short MINOR_16 = 0; // short MAJOR_17 = 61; // short MINOR_17 = 0; -- cgit v1.2.3