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