test/tools/javac/varargs/access/OtherPackage.java

Mon, 26 Oct 2015 13:23:30 -0700

author
asaha
date
Mon, 26 Oct 2015 13:23:30 -0700
changeset 2999
683b3e7e05a7
parent 2788
f08330fad341
permissions
-rw-r--r--

Added tag jdk8u76-b00 for changeset 10ffafaf5340

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

mercurial