Authors: russell@unturf.com · brackishbert@gmail.com · foxhop.net · TimeHexOn.com Patches, unit tests, benchmarks, whitepaper, and outreach briefs. Public domain — no copyright claimed. Use freely.
11 lines
286 B
Java
11 lines
286 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 5086027
|
|
* @summary Inner class of generic class cannot extend Throwable
|
|
* @author Peter von der Ahé
|
|
* @compile/fail/ref=T5086027.out -XDrawDiagnostics T5086027.java
|
|
*/
|
|
|
|
public class T5086027<T> {
|
|
class X extends Exception {}
|
|
}
|