12 lines
290 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 5086027
* @summary Inner class of generic class cannot extend Throwable
* @author Peter von der Ah\u00e9
* @compile/fail/ref=T5086027.out -XDrawDiagnostics T5086027.java
2007-12-01 00:00:00 +00:00
*/
public class T5086027<T> {
class X extends Exception {}
}