560N/A/*
797N/A * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
560N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
560N/A *
560N/A * This code is free software; you can redistribute it and/or modify it
560N/A * under the terms of the GNU General Public License version 2 only, as
560N/A * published by the Free Software Foundation.
560N/A *
560N/A * This code is distributed in the hope that it will be useful, but WITHOUT
560N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
560N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
560N/A * version 2 for more details (a copy is included in the LICENSE file that
560N/A * accompanied this code).
560N/A *
560N/A * You should have received a copy of the GNU General Public License version
560N/A * 2 along with this work; if not, write to the Free Software Foundation,
560N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
560N/A *
580N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
580N/A * or visit www.oracle.com if you need additional information or have any
580N/A * questions.
560N/A */
560N/A
560N/A/*
560N/A * @test
560N/A * @bug 6880344
560N/A * @summary Recursive type parameters do not compile
560N/A * @author mcimadamore
560N/A * @compile T6880344.java
560N/A */
560N/A
560N/Aclass T6880344 {
560N/A static class A<X1 extends G<X1>> {
560N/A public A<N<X1>> xyz;
560N/A }
560N/A
560N/A static class N<X2 extends G<X2>> implements G<N<X2>> { }
560N/A
560N/A interface G<X3 extends G<X3>> { }
560N/A}