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

Wed, 27 May 2009 22:34:43 -0700

author
darcy
date
Wed, 27 May 2009 22:34:43 -0700
changeset 289
84061bd68019
parent 40
8852d96b593b
child 554
9d9f26857129
permissions
-rw-r--r--

6843761: Update langtools tests to remove unncessary -source and -target options
Reviewed-by: jjg

mcimadamore@40 1 /*
mcimadamore@40 2 * Copyright 2008 Sun Microsystems, Inc. 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 *
mcimadamore@40 19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
mcimadamore@40 20 * CA 95054 USA or visit www.sun.com if you need additional information or
mcimadamore@40 21 * have any 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