changeset 32910 | 064f2f066668 |
32909:989fef2663d2 | 32910:064f2f066668 |
---|---|
1 /* |
|
2 * @test /nodynamiccopyright/ |
|
3 * @bug 8132535 |
|
4 * @summary Compiler fails with diamond anonymous class creation with intersection bound of enclosing class. |
|
5 * @compile/fail/ref=Neg23.out Neg23.java -XDrawDiagnostics |
|
6 */ |
|
7 |
|
8 public class Neg23 { |
|
9 { |
|
10 new pkg.Neg23_01<>().new Inner<>(); |
|
11 } |
|
12 } |