Commit 7c836e33 by Tom Tromey Committed by Tom Tromey

* tools/gnu/classpath/tools/javah/PathOptionGroup.java

	(PathOptionGroup): Set default boot class path.

From-SVN: r120882
parent 125d9388
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> 2006-12-14 Andrew Haley <aph@redhat.com>
* tools/gnu/classpath/tools/jar/Creator.java: Close the * tools/gnu/classpath/tools/jar/Creator.java: Close the
/* PathOptionGroup.java - handle classpath-setting options /* 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. This file is part of GNU Classpath.
...@@ -89,6 +89,11 @@ public class PathOptionGroup ...@@ -89,6 +89,11 @@ public class PathOptionGroup
{ {
super("Class path options"); 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") add(new Option("classpath", "Set the class path", "PATH")
{ {
public void parsed(String path) throws OptionException public void parsed(String path) throws OptionException
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment