2007-12-01 00:00:00 +00:00
|
|
|
/*
|
2015-05-15 09:30:55 -07:00
|
|
|
* @test /nodynamiccopyright/
|
2007-12-01 00:00:00 +00:00
|
|
|
* @bug 5024308
|
|
|
|
* @summary "rare" types
|
|
|
|
* @author gafter
|
|
|
|
*
|
2015-05-15 09:30:55 -07:00
|
|
|
* @compile/fail/ref=Rare5.out -XDrawDiagnostics Rare5.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
package rare5;
|
|
|
|
|
|
|
|
class A<T> {
|
|
|
|
class B<U> {
|
|
|
|
}
|
|
|
|
static class C<V> {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class Main {
|
|
|
|
A<String>.C ac2;
|
|
|
|
}
|