Skip to content
Permalink
Browse files

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

…ecord

Reviewed-by: mcimadamore
  • Loading branch information
Vicente Romero
Vicente Romero committed Dec 19, 2019
1 parent 9695ddf commit 68122fd64e60188a05b870b3afb133a8ccec37e7
@@ -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

0 comments on commit 68122fd

Please sign in to comment.
You can’t perform that action at this time.