2007-12-01 00:00:00 +00:00
|
|
|
/*
|
2014-07-17 11:22:47 -07: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
|
2014-07-17 11:22:47 -07:00
|
|
|
* @compile/fail/ref=T5086027.out -XDrawDiagnostics T5086027.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
public class T5086027<T> {
|
|
|
|
class X extends Exception {}
|
|
|
|
}
|