diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2021-07-28 10:49:46 +0700 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2021-09-07 08:44:33 +0200 |
commit | c80551f1d36e288b4b3be658e70c0560b7e04c9e (patch) | |
tree | 56a1f9c16d7a24f0fb6f04fb55faf6e20e65e5cf /testing | |
parent | 665d6a9498360104c662d138df79304210df66f2 (diff) | |
download | aspectj-c80551f1d36e288b4b3be658e70c0560b7e04c9e.tar.gz aspectj-c80551f1d36e288b4b3be658e70c0560b7e04c9e.zip |
Test comment cosmetics
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'testing')
-rw-r--r-- | testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava14Only.java | 2 | ||||
-rw-r--r-- | testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava15Only.java | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava14Only.java b/testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava14Only.java index ece127651..70ebef477 100644 --- a/testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava14Only.java +++ b/testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava14Only.java @@ -17,11 +17,13 @@ public abstract class XMLBasedAjcTestCaseForJava14Only extends XMLBasedAjcTestCa @Override public void setUp() throws Exception { + // Activate this block after upgrading to JDT Core Java 15 throw new IllegalStateException( "These tests need a Java 14 level AspectJ compiler " + "(e.g. because they use version-specific preview features). " + "This compiler does not support preview features of a previous version anymore." ); + // Activate this block before upgrading to JDT Core Java 15 /* if (!LangUtil.is14VMOrGreater() || LangUtil.is15VMOrGreater()) { throw new IllegalStateException( diff --git a/testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava15Only.java b/testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava15Only.java index 868ece1e3..5b64445a9 100644 --- a/testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava15Only.java +++ b/testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava15Only.java @@ -17,11 +17,13 @@ public abstract class XMLBasedAjcTestCaseForJava15Only extends XMLBasedAjcTestCa @Override public void setUp() throws Exception { + // Activate this block after upgrading to JDT Core Java 16 throw new IllegalStateException( "These tests need a Java 15 level AspectJ compiler " + "(e.g. because they use version-specific preview features). " + "This compiler does not support preview features of a previous version anymore." ); + // Activate this block before upgrading to JDT Core Java 16 /* if (!LangUtil.is15VMOrGreater() || LangUtil.is16VMOrGreater()) { throw new IllegalStateException( |