langtools/test/tools/javac/BoundClassError.java
author shade
Tue, 02 Feb 2016 18:15:15 +0300
changeset 35639 f34e7e8b4eac
parent 26274 02a5b23ee21c
permissions -rw-r--r--
8148787: StringConcatFactory exactness check produces bad bytecode when a non-arg concat is requested Reviewed-by: vlivanov, psandoz

/*
 * @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>> {}