8236266: change error message for the case when a class extends j.l.Record
Reviewed-by: mcimadamore
This commit is contained in:
parent
9695ddfffc
commit
68122fd64e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user