aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/lang/natRuntime.cc
diff options
context:
space:
mode:
authorAndrew Haley <aph@redhat.com>2003-08-08 16:26:00 +0000
committerAndrew Haley <aph@gcc.gnu.org>2003-08-08 16:26:00 +0000
commitfcbe85cdfe2b7f3a674e7f2d4e76e63f52e80241 (patch)
treec9e4784fccf69556a29d8204b381d992db981755 /libjava/java/lang/natRuntime.cc
parent258e7dbc94da329418134777af8b3b7f713045c0 (diff)
downloadgcc-fcbe85cdfe2b7f3a674e7f2d4e76e63f52e80241.zip
gcc-fcbe85cdfe2b7f3a674e7f2d4e76e63f52e80241.tar.gz
gcc-fcbe85cdfe2b7f3a674e7f2d4e76e63f52e80241.tar.bz2
[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
Diffstat (limited to 'libjava/java/lang/natRuntime.cc')
-rw-r--r--libjava/java/lang/natRuntime.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/libjava/java/lang/natRuntime.cc b/libjava/java/lang/natRuntime.cc
index 878fccb..b86da32 100644
--- a/libjava/java/lang/natRuntime.cc
+++ b/libjava/java/lang/natRuntime.cc
@@ -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));