diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2021-03-21 02:16:20 +0700 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2021-03-21 02:16:20 +0700 |
commit | 68ad86eb6ed70c15ad4209295903a9a977b001f6 (patch) | |
tree | e65d53e92cf4136d76337bd5e6f8e55da958fff5 /bcel-builder/src | |
parent | a1867b05ba6443d32abc4049c26b92fc226d6f78 (diff) | |
download | aspectj-68ad86eb6ed70c15ad4209295903a9a977b001f6.tar.gz aspectj-68ad86eb6ed70c15ad4209295903a9a977b001f6.zip |
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 <Alexander@Kriegisch.name>
Diffstat (limited to 'bcel-builder/src')
-rw-r--r-- | bcel-builder/src/main/java/org/aspectj/apache/bcel/Constants.java | 4 |
1 files changed, 2 insertions, 2 deletions
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; |