Neg1.java revision 2553:bbf11d72b334
1/*
2 * @test    /nodynamiccopyright/
3 * @bug     5060485
4 * @summary The scope of a class type parameter is too wide
5 * @author  Peter von der Ah\u00e9
6 * @compile/fail/ref=Neg1.out -XDrawDiagnostics  Neg1.java
7 */
8
9public class Neg1<X extends Y> {
10    public static class Y {}
11}
12