mcimadamore@159: /* mcimadamore@159: * Copyright 2008 Sun Microsystems, Inc. All Rights Reserved. mcimadamore@159: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. mcimadamore@159: * mcimadamore@159: * This code is free software; you can redistribute it and/or modify it mcimadamore@159: * under the terms of the GNU General Public License version 2 only, as mcimadamore@159: * published by the Free Software Foundation. mcimadamore@159: * mcimadamore@159: * This code is distributed in the hope that it will be useful, but WITHOUT mcimadamore@159: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or mcimadamore@159: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License mcimadamore@159: * version 2 for more details (a copy is included in the LICENSE file that mcimadamore@159: * accompanied this code). mcimadamore@159: * mcimadamore@159: * You should have received a copy of the GNU General Public License version mcimadamore@159: * 2 along with this work; if not, write to the Free Software Foundation, mcimadamore@159: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. mcimadamore@159: * mcimadamore@159: * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, mcimadamore@159: * CA 95054 USA or visit www.sun.com if you need additional information or mcimadamore@159: * have any questions. mcimadamore@159: */ mcimadamore@159: mcimadamore@159: /* mcimadamore@159: * @test mcimadamore@159: * @bug 6680106 mcimadamore@159: * @summary StackOverFlowError for Cyclic inheritance in TypeParameters with ArrayType Bounds mcimadamore@159: * @author Maurizio Cimadamore mcimadamore@159: * @compile/fail/ref=T6680106.out -XDrawDiagnostics T6680106.java mcimadamore@159: */ mcimadamore@159: mcimadamore@159: class T6680106 { mcimadamore@159: class A0 {} mcimadamore@159: class A1 {} mcimadamore@159: class A2 {} mcimadamore@159: class A3 {} mcimadamore@159: class A5 {} mcimadamore@159: class A6 {} mcimadamore@159: class A7 {} mcimadamore@159: }