aboutsummaryrefslogtreecommitdiffstats
path: root/tests/features1920/java20/SwitchPatternPreview4Error.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/features1920/java20/SwitchPatternPreview4Error.java')
-rw-r--r--tests/features1920/java20/SwitchPatternPreview4Error.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/features1920/java20/SwitchPatternPreview4Error.java b/tests/features1920/java20/SwitchPatternPreview4Error.java
index a682c15c4..ba38e7395 100644
--- a/tests/features1920/java20/SwitchPatternPreview4Error.java
+++ b/tests/features1920/java20/SwitchPatternPreview4Error.java
@@ -1,11 +1,6 @@
/**
* This used to work up to preview 3 (Java 19), but no longer in preview 4 (Java 20).
* Now, the default case seems to need to be the last one in the list.
- *
- * Javac says 4x: "this case label is dominated by a preceding case label"
- *
- * ECJ/AJC says 11x: "This case label is dominated by one of the preceding case label" (yes, "label" singular)
- * See https://github.com/eclipse-jdt/eclipse.jdt.core/issues/919.
*/
public class SwitchPatternPreview4Error {
static void defaultCanAppearBeforePattern(Integer i) {