From 944010edcf45615d0427e77b3afbff92272148dd Mon Sep 17 00:00:00 2001 From: Alexander Kriegisch Date: Thu, 30 Mar 2023 09:13:05 +0200 Subject: [PATCH] eclipse-jdt/eclipse.jdt.core#919 has been fixed Signed-off-by: Alexander Kriegisch --- tests/features1920/java20/SwitchPatternPreview4Error.java | 5 ----- 1 file changed, 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) { -- 2.39.5