test/tools/javac/7153958/pkg/ClassToBeStaticallyImportedB.java

Mon, 01 Jun 2015 11:07:29 -0700

author
vromero
date
Mon, 01 Jun 2015 11:07:29 -0700
changeset 2810
1b59f823d630
permissions
-rw-r--r--

8073372: Redundant CONSTANT_Class entry not generated for inlined constant
Reviewed-by: jjg

vromero@2810 1 /*
vromero@2810 2 * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
vromero@2810 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
vromero@2810 4 *
vromero@2810 5 * This code is free software; you can redistribute it and/or modify it
vromero@2810 6 * under the terms of the GNU General Public License version 2 only, as
vromero@2810 7 * published by the Free Software Foundation. Oracle designates this
vromero@2810 8 * particular file as subject to the "Classpath" exception as provided
vromero@2810 9 * by Oracle in the LICENSE file that accompanied this code.
vromero@2810 10 *
vromero@2810 11 * This code is distributed in the hope that it will be useful, but WITHOUT
vromero@2810 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
vromero@2810 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
vromero@2810 14 * version 2 for more details (a copy is included in the LICENSE file that
vromero@2810 15 * accompanied this code).
vromero@2810 16 *
vromero@2810 17 * You should have received a copy of the GNU General Public License version
vromero@2810 18 * 2 along with this work; if not, write to the Free Software Foundation,
vromero@2810 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
vromero@2810 20 *
vromero@2810 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
vromero@2810 22 * or visit www.oracle.com if you need additional information or have any
vromero@2810 23 * questions.
vromero@2810 24 */
vromero@2810 25 package pkg;
vromero@2810 26
vromero@2810 27 public class ClassToBeStaticallyImportedB {
vromero@2810 28 public static final int staticFieldB = 1;
vromero@2810 29 }

mercurial