ExtendsScope.java revision 0
2d0a88b18a041738cfe635b45bd1db56af469c91Allan Foster * Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.
2d0a88b18a041738cfe635b45bd1db56af469c91Allan Foster * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2d0a88b18a041738cfe635b45bd1db56af469c91Allan Foster * This code is free software; you can redistribute it and/or modify it
2d0a88b18a041738cfe635b45bd1db56af469c91Allan Foster * under the terms of the GNU General Public License version 2 only, as
2d0a88b18a041738cfe635b45bd1db56af469c91Allan Foster * published by the Free Software Foundation.
2d0a88b18a041738cfe635b45bd1db56af469c91Allan Foster * This code is distributed in the hope that it will be useful, but WITHOUT
2d0a88b18a041738cfe635b45bd1db56af469c91Allan Foster * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
2d0a88b18a041738cfe635b45bd1db56af469c91Allan Foster * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
2d0a88b18a041738cfe635b45bd1db56af469c91Allan Foster * version 2 for more details (a copy is included in the LICENSE file that
2d0a88b18a041738cfe635b45bd1db56af469c91Allan Foster * accompanied this code).
2d0a88b18a041738cfe635b45bd1db56af469c91Allan Foster * You should have received a copy of the GNU General Public License version
2d0a88b18a041738cfe635b45bd1db56af469c91Allan Foster * 2 along with this work; if not, write to the Free Software Foundation,
2d0a88b18a041738cfe635b45bd1db56af469c91Allan Foster * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
2d0a88b18a041738cfe635b45bd1db56af469c91Allan Foster * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
2d0a88b18a041738cfe635b45bd1db56af469c91Allan Foster * CA 95054 USA or visit www.sun.com if you need additional information or
2d0a88b18a041738cfe635b45bd1db56af469c91Allan Foster * have any questions.
2d0a88b18a041738cfe635b45bd1db56af469c91Allan Foster * @bug 4402884
2d0a88b18a041738cfe635b45bd1db56af469c91Allan Foster * @summary javac improperly extends superclass's scope to implements clause
2d0a88b18a041738cfe635b45bd1db56af469c91Allan Foster * @author gafter
2d0a88b18a041738cfe635b45bd1db56af469c91Allan Foster interface I {}
2d0a88b18a041738cfe635b45bd1db56af469c91Allan Fosterclass T extends P implements I { // error: no I in scope