< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties

Print this page

        

@@ -541,10 +541,14 @@
 # 0: symbol
 compiler.err.try.resource.may.not.be.assigned=\
     auto-closeable resource {0} may not be assigned
 
 # 0: symbol
+compiler.err.pattern.binding.may.not.be.assigned=\
+    pattern binding {0} may not be assigned
+
+# 0: symbol
 compiler.err.multicatch.parameter.may.not.be.assigned=\
     multi-catch parameter {0} may not be assigned
 
 # 0: type, 1: type
 compiler.err.multicatch.types.must.be.disjoint=\

@@ -3372,10 +3376,16 @@
 
 # 0: string, 1: string
 compiler.err.illegal.argument.for.option=\
     illegal argument for {0}: {1}
 
+compiler.err.match.binding.exists.with.different.type=\
+    illegal attempt to redefine an existing match binding with different type
+
+compiler.err.match.binding.exists=\
+    illegal attempt to redefine an existing match binding
+
 compiler.err.switch.null.not.allowed=\
     null label in case is not allowed
 
 compiler.err.switch.case.unexpected.statement=\
     unexpected statement in case, expected is an expression, a block or a throw statement
< prev index next >