2008-04-09 12:41:45 +00:00
|
|
|
/*
|
2009-08-27 18:08:27 +00:00
|
|
|
* @test /nodynamiccopyright/
|
2008-04-09 12:41:45 +00:00
|
|
|
* @bug 5009937
|
|
|
|
* @summary hiding versus generics versus binary compatibility
|
|
|
|
* @author Maurizio Cimadamore
|
|
|
|
*
|
2010-07-26 21:18:45 +00:00
|
|
|
* @compile/fail/ref=T5009937.out -XDrawDiagnostics T5009937.java
|
2008-04-09 12:41:45 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
public class T5009937<X> {
|
|
|
|
static class A {
|
|
|
|
static void m(T5009937<String> l) {}
|
|
|
|
}
|
|
|
|
|
|
|
|
static class B extends A {
|
|
|
|
static void m(T5009937<Integer> l) {}
|
|
|
|
}
|
|
|
|
}
|