3789983e89
Reviewed-by: darcy, ihse
19 lines
402 B
Java
19 lines
402 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 5009937
|
|
* @summary hiding versus generics versus binary compatibility
|
|
* @author Maurizio Cimadamore
|
|
*
|
|
* @compile/fail/ref=T5009937.out -XDrawDiagnostics T5009937.java
|
|
*/
|
|
|
|
public class T5009937<X> {
|
|
static class A {
|
|
static void m(T5009937<String> l) {}
|
|
}
|
|
|
|
static class B extends A {
|
|
static void m(T5009937<Integer> l) {}
|
|
}
|
|
}
|