diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2023-11-05 10:03:23 +0700 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2023-11-05 10:03:23 +0700 |
commit | 70f3c09bcdd80f682b098f22da8b6285211e46da (patch) | |
tree | 1587bbbd3259fd6ff70030ca0a6b6d6ff337a470 /tests/src/test/resources/org/aspectj/systemtest | |
parent | f0c0088286c17f8a5bf6fa8a00b01a7f46568cf4 (diff) | |
download | aspectj-70f3c09bcdd80f682b098f22da8b6285211e46da.tar.gz aspectj-70f3c09bcdd80f682b098f22da8b6285211e46da.zip |
Enable some tests after J19 problems were fixed for J21
Two test classes which had redundant default clauses for switch with
record patterns were copied from the java19 to the java21 directory and
the redundant clauses deactivated, i.e. the test now run as originally
intended. For older JDK versions, the old tests still stay active in
order to document the old state of affairs.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'tests/src/test/resources/org/aspectj/systemtest')
-rw-r--r-- | tests/src/test/resources/org/aspectj/systemtest/ajc1921/ajc1921.xml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/src/test/resources/org/aspectj/systemtest/ajc1921/ajc1921.xml b/tests/src/test/resources/org/aspectj/systemtest/ajc1921/ajc1921.xml index 73f2bdf5b..ec4682216 100644 --- a/tests/src/test/resources/org/aspectj/systemtest/ajc1921/ajc1921.xml +++ b/tests/src/test/resources/org/aspectj/systemtest/ajc1921/ajc1921.xml @@ -139,7 +139,7 @@ </ajc-test> <!-- Java 21 final, Java 19, 20 preview --> - <ajc-test dir="features1919/java19" vm="21" title="record patterns exhaustiveness 1"> + <ajc-test dir="features1921/java21" vm="21" title="record patterns exhaustiveness 1"> <compile files="RecordPatternsPreview1ExhaustivenessOK1.java" options="-21"/> <run class="RecordPatternsPreview1ExhaustivenessOK1" vmargs=""> <stdout> @@ -150,9 +150,8 @@ </ajc-test> <!-- Java 21 final, Java 19, 20 preview --> - <ajc-test dir="features1919/java19" vm="21" title="record patterns exhaustiveness aspect"> + <ajc-test dir="features1921/java21" vm="21" title="record patterns exhaustiveness aspect"> <compile files="RecordPatternsPreview1ExhaustivenessAspect.aj" options="-21"/> - <!-- TODO: Remove redundant default clauses when https://github.com/eclipse-jdt/eclipse.jdt.core/issues/455 has been fixed --> <run class="RecordPatternsPreview1ExhaustivenessAspect" vmargs=""> <stdout> <line text="y"/> |