--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties Tue Aug 13 10:27:33 2019 +0200
+++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties Tue Aug 13 10:27:34 2019 +0200
@@ -2281,6 +2281,10 @@
compiler.misc.bad.constant.value=\
bad constant value ''{0}'' for {1}, expected {2}
+# 0: type (field type)
+compiler.misc.bad.constant.value.type=\
+ variable of type ''{0}'' cannot have a constant value, but has one specified
+
# 0: string (classfile major version), 1: string (classfile minor version)
compiler.misc.invalid.default.interface=\
default method found in version {0}.{1} classfile