test/tools/javac/staticImport/6665223/T6665223.java

Wed, 13 Aug 2014 14:50:00 -0700

author
katleman
date
Wed, 13 Aug 2014 14:50:00 -0700
changeset 2549
0b6cc4ea670f
parent 554
9d9f26857129
child 2525
2eb010b6cb22
permissions
-rw-r--r--

Added tag jdk8u40-b01 for changeset bf89a471779d

mcimadamore@40 1 /*
ohair@554 2 * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
mcimadamore@40 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
mcimadamore@40 4 *
mcimadamore@40 5 * This code is free software; you can redistribute it and/or modify it
mcimadamore@40 6 * under the terms of the GNU General Public License version 2 only, as
mcimadamore@40 7 * published by the Free Software Foundation.
mcimadamore@40 8 *
mcimadamore@40 9 * This code is distributed in the hope that it will be useful, but WITHOUT
mcimadamore@40 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
mcimadamore@40 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
mcimadamore@40 12 * version 2 for more details (a copy is included in the LICENSE file that
mcimadamore@40 13 * accompanied this code).
mcimadamore@40 14 *
mcimadamore@40 15 * You should have received a copy of the GNU General Public License version
mcimadamore@40 16 * 2 along with this work; if not, write to the Free Software Foundation,
mcimadamore@40 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
mcimadamore@40 18 *
ohair@554 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@554 20 * or visit www.oracle.com if you need additional information or have any
ohair@554 21 * questions.
mcimadamore@40 22 */
mcimadamore@40 23
mcimadamore@40 24 /*
mcimadamore@40 25 * @test
mcimadamore@40 26 * @bug 6665223
mcimadamore@40 27 * @summary Static import of inherited protected method causes compiler exception
mcimadamore@40 28 * @author Maurizio Cimadamore
mcimadamore@40 29 *
mcimadamore@40 30 * @compile pkg/A.java
mcimadamore@40 31 */

mercurial