aboutsummaryrefslogtreecommitdiffstats
path: root/tests/features1919/java19/SwitchPatternPreview3OK.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/features1919/java19/SwitchPatternPreview3OK.java')
-rw-r--r--tests/features1919/java19/SwitchPatternPreview3OK.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/features1919/java19/SwitchPatternPreview3OK.java b/tests/features1919/java19/SwitchPatternPreview3OK.java
index 7060ec0c2..7395f08e9 100644
--- a/tests/features1919/java19/SwitchPatternPreview3OK.java
+++ b/tests/features1919/java19/SwitchPatternPreview3OK.java
@@ -149,13 +149,15 @@ public class SwitchPatternPreview3OK {
}
/**
- * According to an example from JEP 420, this should work, and it does with Javac, but not with ECJ.
+ * According to an example from JEP 420, this should work with preview 2 (Java 18), and it does with Javac,
+ * but not with ECJ for Java 18 and 19.
*
* See:
* 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 3 with Java 19, Eclipse 4.24.
+ * TODO: reactivate when implemented or move to preview 4 with Java 20.
*/
/*
sealed interface I<T> permits A, B {}