--- old/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties 2018-01-09 10:08:36.327072460 -0800 +++ new/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties 2018-01-09 10:08:35.987072445 -0800 @@ -1204,6 +1204,9 @@ ''{0}'' not allowed here\n\ as of release 10, ''{0}'' is a restricted local variable type and cannot be used for type declarations +compiler.warn.var.not.allowed=\ + as of release 10, ''{0}'' is a restricted local variable type and cannot be used for type declarations + # 0: name (variable), 1: message segment compiler.err.cant.infer.local.var.type=\ cannot infer type for local variable {0}\n\