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

13 lines
246 B
Java

/*
* @test /nodynamiccopyright/
* @bug 7157165
*
* @summary Regression: code with disjunctive type crashes javac
* @compile/fail/ref=T7157165.out -XDrawDiagnostics T7157165.java
*
*/
class T7157165 {
Foo<? extends A|B> foo1 = null;
}