diff options
| author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-17 22:59:10 +0000 |
|---|---|---|
| committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-17 22:59:10 +0000 |
| commit | 72ed03376d9faf97a453ac312879b662d7e5afa3 (patch) | |
| tree | 87e4b4c34e2836bd2051e77b9c6ec9c2f576ce7f /libjava/classpath/tools/gnu | |
| parent | 09485793b02d80423c19f795d1134d7eb06b6dbc (diff) | |
| download | ppe42-gcc-72ed03376d9faf97a453ac312879b662d7e5afa3.tar.gz ppe42-gcc-72ed03376d9faf97a453ac312879b662d7e5afa3.zip | |
* 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/gnu')
| -rw-r--r-- | libjava/classpath/tools/gnu/classpath/tools/javah/PathOptionGroup.java | 7 |
1 files changed, 6 insertions, 1 deletions
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 |

