changeset 57568:4cf9d9706ad8

8236266: change error message for the case when a class extends j.l.Record Reviewed-by: mcimadamore
author vromero
date Tue, 07 Jan 2020 09:10:14 -0500
parents d5cbc97b917f
children 2a5117972a35
files src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties	Tue Jan 07 09:08:31 2020 -0500
+++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties	Tue Jan 07 09:10:14 2020 -0500
@@ -3511,7 +3511,7 @@
 
 # 0: symbol
 compiler.err.invalid.supertype.record=\
-    records cannot directly extend {0}
+    classes cannot directly extend {0}
 
 compiler.err.first.statement.must.be.call.to.another.constructor=\
     constructor is not canonical, so its first statement must invoke another constructor