--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java Thu Sep 05 12:39:48 2019 +0200
+++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java Thu Sep 12 17:47:24 2019 +0200
@@ -1432,7 +1432,7 @@
}
List<JCStatement> stats = null;
JCTree body = null;
- @SuppressWarnings("removal")
+ @SuppressWarnings("preview")
CaseKind kind;
switch (token.kind) {
case ARROW:
@@ -2897,7 +2897,7 @@
nextToken();
checkSourceLevel(Feature.SWITCH_MULTIPLE_CASE_LABELS);
};
- @SuppressWarnings("removal")
+ @SuppressWarnings("preview")
CaseKind caseKind;
JCTree body = null;
if (token.kind == ARROW) {
@@ -2922,7 +2922,7 @@
}
case DEFAULT: {
nextToken();
- @SuppressWarnings("removal")
+ @SuppressWarnings("preview")
CaseKind caseKind;
JCTree body = null;
if (token.kind == ARROW) {