jdk-24/test/langtools/tools/javac/generics/T4738171.java

13 lines
254 B
Java
Raw Normal View History

2007-12-01 00:00:00 +00:00
/*
* @test /nodynamiccopyright/
2007-12-01 00:00:00 +00:00
* @bug 4738171
* @summary generics: problem with equivalence of generic types
* @author gafter
*
* @compile/fail/ref=T4738171.out -XDrawDiagnostics T4738171.java
2007-12-01 00:00:00 +00:00
*/
interface If<T> {
final If<T> C0 = null;
}