test/langtools/tools/javac/generics/GenericThrowable.java
author vromero
Tue, 24 Apr 2018 08:13:30 -0700
changeset 49872 0798eab12791
parent 47216 71c04702a3d5
permissions -rw-r--r--
8201281: Truncated error message with Incompatible : null Reviewed-by: mcimadamore

/*
 * @test /nodynamiccopyright/
 * @bug 4984157
 * @summary java.lang.Throwable inheritance in parameterized type
 * @author gafter
 *
 * @compile/fail/ref=GenericThrowable.out -XDrawDiagnostics   GenericThrowable.java
 */

class GenericThrowable<T> extends NullPointerException {
}