8261006: 'super' qualified method references cannot occur in a static context

Reviewed-by: sadayapalam
This commit is contained in:
Vicente Romero 2021-07-15 15:33:23 +00:00
parent 99d7f9a772
commit c962e6ec0b
3 changed files with 36 additions and 3 deletions

View file

@ -0,0 +1,3 @@
MethodReferenceInConstructorInvocation.java:20:21: compiler.err.cant.ref.before.ctor.called: super
MethodReferenceInConstructorInvocation.java:24:30: compiler.err.cant.ref.before.ctor.called: super
2 errors