This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: define gnu.classpath.home
- From: Tom Tromey <tromey at redhat dot com>
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 14 Nov 2002 11:20:13 -0700
- Subject: Patch: FYI: define gnu.classpath.home
- Reply-to: tromey at redhat dot com
I'm checking this in.
The system property gnu.classpath.home is needed to find the
classpath.security file.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* java/lang/natRuntime.cc (insertSystemProperties): Set
gnu.classpath.home.
Index: java/lang/natRuntime.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/lang/natRuntime.cc,v
retrieving revision 1.27
diff -u -r1.27 natRuntime.cc
--- java/lang/natRuntime.cc 25 Oct 2002 03:28:00 -0000 1.27
+++ java/lang/natRuntime.cc 14 Nov 2002 18:21:02 -0000
@@ -380,7 +380,8 @@
// nothing else when installing gcj. Plus, people are free to
// redefine `java.home' with `-D' if necessary.
SET ("java.home", PREFIX);
-
+ SET ("gnu.classpath.home", PREFIX);
+
SET ("file.encoding", default_file_encoding);
#ifdef HAVE_UNAME