672N/A * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 672N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 672N/A * This code is free software; you can redistribute it and/or modify it 672N/A * under the terms of the GNU General Public License version 2 only, as 672N/A * published by the Free Software Foundation. 672N/A * This code is distributed in the hope that it will be useful, but WITHOUT 672N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 672N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 672N/A * version 2 for more details (a copy is included in the LICENSE file that 672N/A * accompanied this code). 672N/A * You should have received a copy of the GNU General Public License version 672N/A * 2 along with this work; if not, write to the Free Software Foundation, 672N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 672N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 672N/A * or visit www.oracle.com if you need additional information or have any 729N/A * @ignore fix has been disabled as a consequence of 6996415 672N/A * @summary javac should create bridge methods when type variable bounds restricted 672N/A * @run main OverrideBridge 672N/A "abstract class A<X> {\n" +
672N/A " public abstract X m(X x);\n" +
672N/A "abstract class B<X extends B<X>> extends A<X> implements I<X> { #B }\n" +
672N/A "abstract class C<X extends C<X>> extends B<X> { #C }\n" +
672N/A "abstract class D<X extends D<X>> extends C<X> { #D }\n";