Cannot implement abstract method with extension method

Thomas Jung thomas.andreas.jung at googlemail.com
Wed Aug 25 06:47:11 PDT 2010


> I see. This looks more like a bug, but what about the following:
>
> interface A{
>        extension boolean m(Object object) default As.m;
> }
> interface B {
>        extension boolean m(Object object) default Bs.m;
> }
>
> class C  implements A, B{}

That's clearly ambiguous.

Thomas


More information about the lambda-dev mailing list