diff options
| author | Tom Tromey <tromey@redhat.com> | 2007-01-17 22:59:10 +0000 |
|---|---|---|
| committer | Tom Tromey <tromey@gcc.gnu.org> | 2007-01-17 22:59:10 +0000 |
| commit | 7c836e336ed4af28dc283aef527d1c31feb44149 (patch) | |
| tree | 87e4b4c34e2836bd2051e77b9c6ec9c2f576ce7f /libjava/classpath/tools/gnu | |
| parent | 125d938801eaee54cd25a6506dc9dee3caf23a49 (diff) | |
| download | gcc-7c836e336ed4af28dc283aef527d1c31feb44149.zip gcc-7c836e336ed4af28dc283aef527d1c31feb44149.tar.gz gcc-7c836e336ed4af28dc283aef527d1c31feb44149.tar.bz2 | |
* tools/gnu/classpath/tools/javah/PathOptionGroup.java
(PathOptionGroup): Set default boot class path.
From-SVN: r120882
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 4287354a..efb5f7a 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 |
