mcimadamore@24: /* jjg@384: * @test /nodynamiccopyright/ mcimadamore@24: * @bug 5009937 mcimadamore@24: * @summary hiding versus generics versus binary compatibility mcimadamore@24: * @author Maurizio Cimadamore mcimadamore@24: * jjg@611: * @compile/fail/ref=T5009937.out -XDrawDiagnostics T5009937.java mcimadamore@24: */ mcimadamore@24: mcimadamore@24: public class T5009937 { mcimadamore@24: static class A { mcimadamore@24: static void m(T5009937 l) {} mcimadamore@24: } mcimadamore@24: mcimadamore@24: static class B extends A { mcimadamore@24: static void m(T5009937 l) {} mcimadamore@24: } mcimadamore@24: }