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