langtools/test/tools/javac/generics/5086027/T5086027.java
author katleman
Thu, 21 Aug 2014 14:16:14 -0700
changeset 25878 6d561031123e
parent 25694 ba47ecb5bfee
permissions -rw-r--r--
Added tag jdk9-b27 for changeset 98ce0879ab4c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
/*
25694
ba47ecb5bfee 8048837: .out files for generics tests in tools/javac dir - part 3
sogoel
parents: 5520
diff changeset
     2
 * @test    /nodynamiccopyright/
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     3
 * @bug     5086027
06bc494ca11e Initial load
duke
parents:
diff changeset
     4
 * @summary Inner class of generic class cannot extend Throwable
06bc494ca11e Initial load
duke
parents:
diff changeset
     5
 * @author  Peter von der Ah\u00e9
25694
ba47ecb5bfee 8048837: .out files for generics tests in tools/javac dir - part 3
sogoel
parents: 5520
diff changeset
     6
 * @compile/fail/ref=T5086027.out -XDrawDiagnostics  T5086027.java
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     7
 */
06bc494ca11e Initial load
duke
parents:
diff changeset
     8
06bc494ca11e Initial load
duke
parents:
diff changeset
     9
public class T5086027<T> {
06bc494ca11e Initial load
duke
parents:
diff changeset
    10
    class X extends Exception {}
06bc494ca11e Initial load
duke
parents:
diff changeset
    11
}