mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-13 20:05:31 +00:00
8370687: Improve before constructor has been called error message
Reviewed-by: vromero
This commit is contained in:
parent
86f60f6081
commit
20e55fafb3
@ -397,11 +397,11 @@ compiler.err.cant.inherit.from.final=\
|
||||
|
||||
# 0: symbol or name
|
||||
compiler.err.cant.ref.before.ctor.called=\
|
||||
cannot reference {0} before supertype constructor has been called
|
||||
reference to {0} may only appear after an explicit constructor invocation
|
||||
|
||||
# 0: symbol or name
|
||||
compiler.err.cant.assign.initialized.before.ctor.called=\
|
||||
cannot assign initialized field ''{0}'' before supertype constructor has been called
|
||||
assignment to initialized field ''{0}'' may only appear after an explicit constructor invocation
|
||||
|
||||
compiler.err.cant.select.static.class.from.param.type=\
|
||||
cannot select a static class from a parameterized type
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user