[multiple changes]
2003-08-08 Andrew Haley <aph@redhat.com> * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH. * Makefile.in: Rebuild. * java/lang/natRuntime.cc (insertSystemProperties): Add "sun.boot.class.path". 2003-08-07 Andrew Haley <aph@redhat.com> * java/io/PrintStream.java: Don't crash on a null string. From-SVN: r70250
This commit is contained in:
parent
258e7dbc94
commit
fcbe85cdfe
5 changed files with 20 additions and 4 deletions
|
@ -564,7 +564,7 @@ java::lang::Runtime::insertSystemProperties (java::util::Properties *newprops)
|
|||
|
||||
if (_Jv_Jar_Class_Path)
|
||||
newprops->put(JvNewStringLatin1 ("java.class.path"),
|
||||
JvNewStringLatin1 (_Jv_Jar_Class_Path));
|
||||
JvNewStringLatin1 (_Jv_Jar_Class_Path));
|
||||
else
|
||||
{
|
||||
// FIXME: find libgcj.zip and append its path?
|
||||
|
@ -586,6 +586,9 @@ java::lang::Runtime::insertSystemProperties (java::util::Properties *newprops)
|
|||
sb->toString ());
|
||||
}
|
||||
|
||||
// The path to libgcj's boot classes
|
||||
SET ("sun.boot.class.path", BOOT_CLASS_PATH);
|
||||
|
||||
// The name used to invoke this process (argv[0] in C).
|
||||
SET ("gnu.gcj.progname", _Jv_GetSafeArg (0));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue