changeset 30404 | 952a476681b2 |
child 34474 | 14deea5f86f1 |
30403:c904bbdc5ec1 | 30404:952a476681b2 |
---|---|
1 /* |
|
2 * @test /nodynamiccopyright/ |
|
3 * @bug 8078473 |
|
4 * @summary javac diamond finder crashes when used to build java.base module |
|
5 * @compile/ref=T8078473.out T8078473.java -XDrawDiagnostics -XDfind=diamond |
|
6 */ |
|
7 |
|
8 class T8078473<P, Q> { |
|
9 |
|
10 static class C<T, U> { |
|
11 C(T8078473<?, ?> p) {} |
|
12 } |
|
13 |
|
14 { |
|
15 new C<Q, Q>(this) {}; |
|
16 new C<Q, Q>(this); |
|
17 } |
|
18 } |