]> source.dussan.org Git - aspectj.git/commit
Make sure Java 14-only tests using preview are not executed on JVM 15+
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Sun, 14 Mar 2021 06:58:37 +0000 (13:58 +0700)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Sun, 14 Mar 2021 06:58:37 +0000 (13:58 +0700)
commitef21abde05b925df6774f872437812fff1b3f9ee
tree4c3062a839138400f76e32876ac0346b8f77f573
parentbf48d9dd07a7ebd5ac61b66df5c478b59fca831a
Make sure Java 14-only tests using preview are not executed on JVM 15+

Some Ajc196 tests are using preview features (see .../ajc196.xml), i.e.
they will fail on Java 15+ because code compiled with '--enable-preview'
can only run on the same JVM version, not on a more recent one. Hence,
the preview-using tests are now being excluded in order to make the
build run on Java 15, even though no Java 15 features are present in the
current 1.9.7 snapshot.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava14Only.java [new file with mode: 0644]
tests/src/test/java/org/aspectj/systemtest/ajc196/Ajc196PreviewFeaturesTests.java [new file with mode: 0644]
tests/src/test/java/org/aspectj/systemtest/ajc196/Ajc196Tests.java
tests/src/test/java/org/aspectj/systemtest/ajc196/AllTestsAspectJ196.java
tests/src/test/resources/org/aspectj/systemtest/ajc196/ajc196.xml