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

Reviewed-by: mcimadamore
This commit is contained in:
Vicente Romero 2019-12-19 13:32:58 -05:00
parent 9695ddfffc
commit 68122fd64e

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