summaryrefslogtreecommitdiff
path: root/libjava/classpath/tools
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-17 22:59:10 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-17 22:59:10 +0000
commit72ed03376d9faf97a453ac312879b662d7e5afa3 (patch)
tree87e4b4c34e2836bd2051e77b9c6ec9c2f576ce7f /libjava/classpath/tools
parent09485793b02d80423c19f795d1134d7eb06b6dbc (diff)
downloadgcc-72ed03376d9faf97a453ac312879b662d7e5afa3.tar.gz
* tools/gnu/classpath/tools/javah/PathOptionGroup.java
(PathOptionGroup): Set default boot class path. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120882 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/tools')
-rw-r--r--libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$2.classbin1104 -> 1104 bytes
-rw-r--r--libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$3.classbin1103 -> 1103 bytes
-rw-r--r--libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$4.classbin1108 -> 1108 bytes
-rw-r--r--libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$5.classbin1107 -> 1107 bytes
-rw-r--r--libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup.classbin3120 -> 3290 bytes
-rw-r--r--libjava/classpath/tools/gnu/classpath/tools/javah/PathOptionGroup.java7
6 files changed, 6 insertions, 1 deletions
diff --git a/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$2.class b/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$2.class
index 0613196320c..a4fe014e137 100644
--- a/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$2.class
+++ b/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$2.class
Binary files differ
diff --git a/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$3.class b/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$3.class
index 8e7c07f5904..6786f255ac5 100644
--- a/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$3.class
+++ b/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$3.class
Binary files differ
diff --git a/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$4.class b/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$4.class
index 1e0725da07b..08d44961c3e 100644
--- a/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$4.class
+++ b/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$4.class
Binary files differ
diff --git a/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$5.class b/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$5.class
index 5791d4f8269..e8f36fc5b3e 100644
--- a/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$5.class
+++ b/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup$5.class
Binary files differ
diff --git a/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup.class b/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup.class
index 4833679fb4b..41960117caa 100644
--- a/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup.class
+++ b/libjava/classpath/tools/classes/gnu/classpath/tools/javah/PathOptionGroup.class
Binary files differ
diff --git a/libjava/classpath/tools/gnu/classpath/tools/javah/PathOptionGroup.java b/libjava/classpath/tools/gnu/classpath/tools/javah/PathOptionGroup.java
index 4287354aed6..efb5f7a70b2 100644
--- a/libjava/classpath/tools/gnu/classpath/tools/javah/PathOptionGroup.java
+++ b/libjava/classpath/tools/gnu/classpath/tools/javah/PathOptionGroup.java
@@ -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