8236266: change error message for the case when a class extends j.l.Record

Reviewed-by: mcimadamore
This commit is contained in:
Vicente Romero 2020-01-07 09:10:14 -05:00
parent aa3a79a29b
commit 320d4b7f72

View File

@ -3511,7 +3511,7 @@ compiler.err.record.cannot.declare.instance.fields=\
# 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