2018-05-22 13:37:05 +01:00
|
|
|
/*
|
|
|
|
* @test /nodynamiccopyright/
|
2022-01-06 05:58:17 +00:00
|
|
|
* @bug 8203436 8211004
|
2018-05-22 13:37:05 +01:00
|
|
|
* @summary javac should fail early when emitting illegal signature attributes
|
|
|
|
* @compile/fail/ref=T8203436a.out -XDrawDiagnostics T8203436a.java
|
|
|
|
*/
|
|
|
|
|
|
|
|
class T8203436a<X> {
|
|
|
|
class Inner { }
|
|
|
|
|
|
|
|
void test(T8203436a<?> outer) {
|
|
|
|
outer.new Inner() { };
|
|
|
|
}
|
|
|
|
}
|