diff src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties @ 56807:7fa5bdf1b954

manual merge with records branch
author vromero
date Thu, 20 Jun 2019 12:08:09 -0400
parents 892a23eb13ce ed1f7c1d4ff3
children bcd0f33734b3
line wrap: on
line diff
--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties	Tue Jun 18 21:30:50 2019 +0200
+++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties	Thu Jun 20 12:08:09 2019 -0400
@@ -3461,12 +3461,18 @@
 # 0: name
 compiler.err.record.not.allowed=\
     ''{0}'' not allowed here\n\
-    as of release 10, ''{0}'' is a restricted type name and cannot be used for type declarations
+    as of release 14, ''{0}'' is a restricted type name and cannot be used for type declarations
 
 # 0: name
 compiler.err.method.must.be.public=\
     method: {0}(), must be public
 
+compiler.err.canonical.with.name.mismatch=\
+    constructor with same signature as canonical does not match by parameter names
+
+compiler.err.constructor.with.same.erasure.as.canonical=\
+    constructor with same erasure as canonical constructor
+
 ############################################
 # messages previouly at javac.properties