jdk-24/test/langtools/tools/javac/SuperInit/SuperInitFails.out
Archie Cobbs 12e983a72e 8194743: Compiler implementation for Statements before super()
Reviewed-by: vromero, jwaters, mcimadamore
2023-11-27 17:26:52 +00:00

30 lines
2.0 KiB
Plaintext

SuperInitFails.java:57:9: compiler.err.cant.ref.before.ctor.called: hashCode()
SuperInitFails.java:62:9: compiler.err.cant.ref.before.ctor.called: this
SuperInitFails.java:67:9: compiler.err.cant.ref.before.ctor.called: super
SuperInitFails.java:72:23: compiler.err.cant.ref.before.ctor.called: this
SuperInitFails.java:77:23: compiler.err.cant.ref.before.ctor.called: super
SuperInitFails.java:94:9: compiler.err.cant.ref.before.ctor.called: this
SuperInitFails.java:99:33: compiler.err.cant.ref.before.ctor.called: this
SuperInitFails.java:104:14: compiler.err.cant.ref.before.ctor.called: this
SuperInitFails.java:108:20: compiler.err.not.encl.class: java.lang.Object
SuperInitFails.java:112:17: compiler.err.cant.ref.before.ctor.called: super
SuperInitFails.java:119:22: compiler.err.call.must.only.appear.in.ctor
SuperInitFails.java:125:9: compiler.err.cant.ref.before.ctor.called: this
SuperInitFails.java:133:9: compiler.err.non.canonical.constructor.invoke.another.constructor: SuperInitFails.Record1
SuperInitFails.java:138:9: compiler.err.non.canonical.constructor.invoke.another.constructor: SuperInitFails.Record2
SuperInitFails.java:154:9: compiler.err.cant.ref.before.ctor.called: this
SuperInitFails.java:165:31: compiler.err.cant.ref.before.ctor.called: x
SuperInitFails.java:169:15: compiler.err.cant.ref.before.ctor.called: this
SuperInitFails.java:33:13: compiler.err.call.must.only.appear.in.ctor
SuperInitFails.java:37:14: compiler.err.call.must.only.appear.in.ctor
SuperInitFails.java:41:14: compiler.err.call.must.only.appear.in.ctor
SuperInitFails.java:45:13: compiler.err.call.must.only.appear.in.ctor
SuperInitFails.java:49:33: compiler.err.call.must.only.appear.in.ctor
SuperInitFails.java:53:32: compiler.err.call.must.only.appear.in.ctor
SuperInitFails.java:83:18: compiler.err.ctor.calls.not.allowed.here
SuperInitFails.java:89:13: compiler.err.return.before.superclass.initialized
SuperInitFails.java:160:18: compiler.err.ctor.calls.not.allowed.here
- compiler.note.preview.filename: SuperInitFails.java, DEFAULT
- compiler.note.preview.recompile
26 errors