23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @summary check that type-variables in generic extension decl can be accessed from default impl |
26 * @summary check that type-variables in generic extension decl can be accessed from default impl |
27 * @author Maurizio Cimadamore |
27 * @author Maurizio Cimadamore |
28 * @compile -XDallowDefaultMethods Pos10.java |
28 * @compile Pos10.java |
29 */ |
29 */ |
30 |
30 |
31 class Pos10 { |
31 class Pos10 { |
32 interface Function<X,Y> { |
32 interface Function<X,Y> { |
33 Y apply(X x); |
33 Y apply(X x); |