25 * @test |
25 * @test |
26 * @bug 7022054 |
26 * @bug 7022054 |
27 * |
27 * |
28 * @summary Invalid compiler error on covariant overriding methods with the same erasure |
28 * @summary Invalid compiler error on covariant overriding methods with the same erasure |
29 * @compile -source 7 T7022054pos1.java |
29 * @compile -source 7 T7022054pos1.java |
30 * @compile/fail -XDstrictMethodClashCheck T7022054pos1.java |
30 * @compile/fail/ref=T7022054pos1.out -XDrawDiagnostics T7022054pos1.java |
31 * |
31 * |
32 */ |
32 */ |
33 |
33 |
34 class T7022054pos1 { |
34 class T7022054pos1 { |
35 static class A { |
35 static class A { |