T6663588.java revision 7
7N/A/*
7N/A * Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
7N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
7N/A *
7N/A * This code is free software; you can redistribute it and/or modify it
7N/A * under the terms of the GNU General Public License version 2 only, as
7N/A * published by the Free Software Foundation.
7N/A *
7N/A * This code is distributed in the hope that it will be useful, but WITHOUT
7N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
7N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
7N/A * version 2 for more details (a copy is included in the LICENSE file that
7N/A * accompanied this code).
7N/A *
7N/A * You should have received a copy of the GNU General Public License version
7N/A * 2 along with this work; if not, write to the Free Software Foundation,
7N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
7N/A *
7N/A * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
7N/A * CA 95054 USA or visit www.sun.com if you need additional information or
7N/A * have any questions.
7N/A */
7N/A
7N/A/*
7N/A * @test
7N/A * @bug 6663588
7N/A * @summary Compiler goes into infinite loop for Cyclic Inheritance test case
7N/A * @author Maurizio Cimadamore
7N/A * @compile/fail T6663588.java
7N/A */
7N/A
7N/Apublic class T6663588<T extends T6663588.Inner> extends T6663588 {
7N/A class Inner extends T6663588.Inner {}
7N/A}