test/tools/jdeps/p/Foo.java

Tue, 24 Dec 2013 09:17:37 -0800

author
ksrini
date
Tue, 24 Dec 2013 09:17:37 -0800
changeset 2227
998b10c43157
parent 1638
fd3fdaff0257
child 2525
2eb010b6cb22
permissions
-rw-r--r--

8029230: Update copyright year to match last edit in jdk8 langtools repository for 2013
Reviewed-by: ksrini
Contributed-by: steve.sides@oracle.com

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

mercurial