wrong target (this) in super default method invocation from a lambda

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Wed Aug 29 03:50:46 PDT 2012


On 29/08/12 09:06, Peter Levart wrote:
> But the following code:
>
>
> public class Outer implements K {
>      @Override
>      public void m() {
>          Runnable r = () -> { K.super.m(); };
>          r.run();
>      }
> }
>
>
> still produces compiler internal error:
>
That's a code generation problem when 292 translation is enabled 
(default now) - I'm working on a fix.

Maurizio


More information about the lambda-dev mailing list