|
Blocks :
|
|
|
Relates :
|
DefaultMethodsTest.testAmbiguousReabstract fails.
interface I { int m(); }
interface J { default int m() { return 88; } }
class C implements I, J {}
C c = new C(); c.m() should == 88 instead ICCE
Note: this test in DefaultMethodsTest has been updated to match the spec.
|