mcimadamore@154: /* ohair@798: * Copyright (c) 2008, 2010, Oracle and/or its affiliates. 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: * ohair@554: * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA ohair@554: * or visit www.oracle.com if you need additional information or have any ohair@554: * 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; jjg@525: }