test/tools/javac/Paths/6638501/test/SayHello.java

Fri, 14 Mar 2008 16:09:30 -0700

author
jjg
date
Fri, 14 Mar 2008 16:09:30 -0700
changeset 14
58039502942e
child 554
9d9f26857129
permissions
-rw-r--r--

6638501: Regression with Javac in JDK6 U4 b03?
Summary: replace some String paths with File paths in Paths.java
Reviewed-by: ksrini

jjg@14 1 /*
jjg@14 2 * Copyright 2007-2008 Sun Microsystems, Inc. All Rights Reserved.
jjg@14 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
jjg@14 4 *
jjg@14 5 * This code is free software; you can redistribute it and/or modify it
jjg@14 6 * under the terms of the GNU General Public License version 2 only, as
jjg@14 7 * published by the Free Software Foundation.
jjg@14 8 *
jjg@14 9 * This code is distributed in the hope that it will be useful, but WITHOUT
jjg@14 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
jjg@14 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
jjg@14 12 * version 2 for more details (a copy is included in the LICENSE file that
jjg@14 13 * accompanied this code).
jjg@14 14 *
jjg@14 15 * You should have received a copy of the GNU General Public License version
jjg@14 16 * 2 along with this work; if not, write to the Free Software Foundation,
jjg@14 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
jjg@14 18 *
jjg@14 19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
jjg@14 20 * CA 95054 USA or visit www.sun.com if you need additional information or
jjg@14 21 * have any questions.
jjg@14 22 */
jjg@14 23
jjg@14 24 import test.HelloImpl;
jjg@14 25
jjg@14 26 public class SayHello extends HelloImpl {
jjg@14 27 public static void main(String... args) {
jjg@14 28 new SayHello().Hello();
jjg@14 29 }
jjg@14 30
jjg@14 31 }

mercurial