diff -r 19122c10fc52 -r 6373d9a0ad82 src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties --- a/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties Fri Nov 24 09:45:39 2017 +0100 +++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties Fri Nov 24 16:14:33 2017 +0000 @@ -1216,6 +1216,9 @@ compiler.misc.local.cant.infer.null=\ variable initializer is ''null'' +compiler.misc.local.cant.infer.void=\ + variable initializer is ''void'' + compiler.misc.local.missing.init=\ cannot use ''var'' on variable without initializer