Patch: FYI: define gnu.classpath.home

Tom Tromey tromey@redhat.com
Thu Nov 14 10:27:00 GMT 2002


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



More information about the Java-patches mailing list