jdk-24/test/langtools/tools/javac/BoundClassError.java
2017-09-12 19:03:39 +02:00

10 lines
314 B
Java

/*
* @test /nodynamiccopyright/
* @bug 4980352
* @summary Verify compiler doesn't throw a NullPointerException when compiling.
* @author tball
*
* @compile/fail/ref=BoundClassError.out -XDrawDiagnostics BoundClassError.java
*/
public class BoundClassError <T extends String&Comparable<BoundClassError>> {}