OSDN Git Service

* tools/gnu/classpath/tools/javah/PathOptionGroup.java
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Jan 2007 22:59:10 +0000 (22:59 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Jan 2007 22:59:10 +0000 (22:59 +0000)
(PathOptionGroup): Set default boot class path.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120882 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/classpath/ChangeLog
libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$2.class
libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$3.class
libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$4.class
libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$5.class
libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup.class
libjava/classpath/tools/gnu/classpath/tools/javah/PathOptionGroup.java

index 83de490..3a3d8a2 100644 (file)
@@ -1,3 +1,8 @@
+2007-01-17  Tom Tromey  <tromey@redhat.com>
+
+       * tools/gnu/classpath/tools/javah/PathOptionGroup.java
+       (PathOptionGroup): Set default boot class path.
+
 2006-12-14  Andrew Haley  <aph@redhat.com>
 
        * tools/gnu/classpath/tools/jar/Creator.java: Close the
index 0613196..a4fe014 100644 (file)
Binary files a/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$2.class and b/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$2.class differ
index 8e7c07f..6786f25 100644 (file)
Binary files a/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$3.class and b/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$3.class differ
index 1e0725d..08d4496 100644 (file)
Binary files a/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$4.class and b/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$4.class differ
index 5791d4f..e8f36fc 100644 (file)
Binary files a/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$5.class and b/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$5.class differ
index 4833679..4196011 100644 (file)
Binary files a/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup.class and b/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup.class differ
index 4287354..efb5f7a 100644 (file)
@@ -1,5 +1,5 @@
 /* PathOptionGroup.java - handle classpath-setting options
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006, 2007 Free Software Foundation, Inc.
 
  This file is part of GNU Classpath.
 
@@ -89,6 +89,11 @@ public class PathOptionGroup
   {
     super("Class path options");
 
+    // Use the VM's built-in boot class path by default.
+    String boot = System.getProperty("sun.boot.class.path");
+    if (boot != null)
+      setPath(bootclasspath, boot);
+
     add(new Option("classpath", "Set the class path", "PATH")
     {
       public void parsed(String path) throws OptionException