]> source.dussan.org Git - aspectj.git/commitdiff
Remove some TODOs from tests after upstream JDT Core fixes
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Thu, 14 Dec 2023 13:17:51 +0000 (20:17 +0700)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Thu, 14 Dec 2023 13:17:51 +0000 (20:17 +0700)
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
tests/features1919/java19/SwitchPatternPreview3OK.java
tests/features1920/java20/SwitchPatternPreview4OK.java
tests/features1921/java21/SwitchPatternPreview4OK.java
tests/features199/java18/SwitchPatternPreview2OK.java

index 7395f08e920ab559ba9dced36459c8c41fd0f05c..2718aace127bf62c631c14ab1b37c1add5d0e9a8 100644 (file)
@@ -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 {}
index f5518d49602092a3d05f53bb97a05ed8dd12e644..c070b9cc9e585fb65185edff5dbd516cdee2f1bd 100644 (file)
@@ -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 {}
index 40854a0078d2913b6c4a97b3ebf4167833cde6f5..3fe6d98203dd9148a3e0821a154319f4ec4f14c3 100644 (file)
@@ -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> {}
index c17fdc12b567ce871105f38cfbbb90d1cc4cdf52..b0efd8553b16df7eacadff68d98286ed4ae79e12 100644 (file)
@@ -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 {}