langtools/test/tools/javac/BoundClassError.java
author lana
Tue, 25 Apr 2017 07:38:50 +0000
changeset 44909 b53c770dc04f
parent 26274 02a5b23ee21c
permissions -rw-r--r--
Added tag jdk-10+1 for changeset 3a409afd3f86
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
/*
26274
02a5b23ee21c 8055074: Group 9a: golden files for tests in tools/javac dir
sogoel
parents: 5520
diff changeset
     2
 * @test /nodynamiccopyright/
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     3
 * @bug 4980352
06bc494ca11e Initial load
duke
parents:
diff changeset
     4
 * @summary Verify compiler doesn't throw a NullPointerException when compiling.
06bc494ca11e Initial load
duke
parents:
diff changeset
     5
 * @author tball
06bc494ca11e Initial load
duke
parents:
diff changeset
     6
 *
26274
02a5b23ee21c 8055074: Group 9a: golden files for tests in tools/javac dir
sogoel
parents: 5520
diff changeset
     7
 * @compile/fail/ref=BoundClassError.out -XDrawDiagnostics  BoundClassError.java
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     8
 */
06bc494ca11e Initial load
duke
parents:
diff changeset
     9
public class BoundClassError <T extends String&Comparable<BoundClassError>> {}