aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2023-12-14 20:17:51 +0700
committerAlexander Kriegisch <Alexander@Kriegisch.name>2023-12-14 20:17:51 +0700
commit696aec651b6f8ee85a7d51a1692b6eed8e36727e (patch)
tree2a6957e49f0f5ef6c16eeec55b6be2ca775c9dc8 /tests
parent3b81ea114192b5850867a0a6c49aed5cd93a922d (diff)
downloadaspectj-696aec651b6f8ee85a7d51a1692b6eed8e36727e.tar.gz
aspectj-696aec651b6f8ee85a7d51a1692b6eed8e36727e.zip
Remove some TODOs from tests after upstream JDT Core fixes
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'tests')
-rw-r--r--tests/features1919/java19/SwitchPatternPreview3OK.java2
-rw-r--r--tests/features1920/java20/SwitchPatternPreview4OK.java2
-rw-r--r--tests/features1921/java21/SwitchPatternPreview4OK.java2
-rw-r--r--tests/features199/java18/SwitchPatternPreview2OK.java2
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/features1919/java19/SwitchPatternPreview3OK.java b/tests/features1919/java19/SwitchPatternPreview3OK.java
index 7395f08e9..2718aace1 100644
--- a/tests/features1919/java19/SwitchPatternPreview3OK.java
+++ b/tests/features1919/java19/SwitchPatternPreview3OK.java
@@ -157,7 +157,7 @@ public class SwitchPatternPreview3OK {
* https://bugs.eclipse.org/bugs/show_bug.cgi?id=579360
* https://github.com/eclipse-jdt/eclipse.jdt.core/issues/587
*
- * TODO: reactivate when implemented or move to preview 4 with Java 20.
+ * DONE: reactivated after fix in Java 21
*/
/*
sealed interface I<T> permits A, B {}
diff --git a/tests/features1920/java20/SwitchPatternPreview4OK.java b/tests/features1920/java20/SwitchPatternPreview4OK.java
index f5518d496..c070b9cc9 100644
--- a/tests/features1920/java20/SwitchPatternPreview4OK.java
+++ b/tests/features1920/java20/SwitchPatternPreview4OK.java
@@ -130,7 +130,7 @@ public class SwitchPatternPreview4OK {
* https://bugs.eclipse.org/bugs/show_bug.cgi?id=579360
* https://github.com/eclipse-jdt/eclipse.jdt.core/issues/587
*
- * TODO: reactivate when implemented or move to preview 5 with Java 21.
+ * DONE: reactivated after fix in Java 21
*/
/*
sealed interface I<T> permits D, E {}
diff --git a/tests/features1921/java21/SwitchPatternPreview4OK.java b/tests/features1921/java21/SwitchPatternPreview4OK.java
index 40854a007..3fe6d9820 100644
--- a/tests/features1921/java21/SwitchPatternPreview4OK.java
+++ b/tests/features1921/java21/SwitchPatternPreview4OK.java
@@ -129,8 +129,6 @@ public class SwitchPatternPreview4OK {
* https://openjdk.java.net/jeps/420#2--Exhaustiveness-of-switch-expressions-and-statements
* https://bugs.eclipse.org/bugs/show_bug.cgi?id=579360
* https://github.com/eclipse-jdt/eclipse.jdt.core/issues/587
- *
- * TODO: reactivate when implemented or move to preview 5 with Java 21.
*/
sealed interface I<T> permits D, E {}
final static class D<X> implements I<String> {}
diff --git a/tests/features199/java18/SwitchPatternPreview2OK.java b/tests/features199/java18/SwitchPatternPreview2OK.java
index c17fdc12b..b0efd8553 100644
--- a/tests/features199/java18/SwitchPatternPreview2OK.java
+++ b/tests/features199/java18/SwitchPatternPreview2OK.java
@@ -97,6 +97,8 @@ public class SwitchPatternPreview2OK {
* https://openjdk.java.net/jeps/420#2--Exhaustiveness-of-switch-expressions-and-statements
* https://bugs.eclipse.org/bugs/show_bug.cgi?id=579360
* https://github.com/eclipse-jdt/eclipse.jdt.core/issues/587
+ *
+ * DONE: reactivated after fix in Java 21
*/
/*
sealed interface I<T> permits A, B {}