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