aboutsummaryrefslogtreecommitdiff
path: root/libjava/java
diff options
context:
space:
mode:
authorAnthony Green <green@redhat.com>2004-05-19 19:31:42 +0000
committerAnthony Green <green@gcc.gnu.org>2004-05-19 19:31:42 +0000
commit0f22079ec250534ffdc853b892162c160de8b302 (patch)
treebeb4d0f62984be9b9348d482cbca53e517bbf394 /libjava/java
parente916e1d0e0f51b2841bcb617bee933caf14049cd (diff)
downloadgcc-0f22079ec250534ffdc853b892162c160de8b302.zip
gcc-0f22079ec250534ffdc853b892162c160de8b302.tar.gz
gcc-0f22079ec250534ffdc853b892162c160de8b302.tar.bz2
Makefile.am: Define JAVA_EXT_DIRS.
2004-05-19 Anthony Green <green@redhat.com> * Makefile.am: Define JAVA_EXT_DIRS. * Makefile.in: Rebuilt. * java/lang/natRuntime.cc (insertSystemProperties): Set java.ext.dirs property. From-SVN: r82034
Diffstat (limited to 'libjava/java')
-rw-r--r--libjava/java/lang/natRuntime.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/libjava/java/lang/natRuntime.cc b/libjava/java/lang/natRuntime.cc
index 9b54874..4f6aabd 100644
--- a/libjava/java/lang/natRuntime.cc
+++ b/libjava/java/lang/natRuntime.cc
@@ -592,6 +592,9 @@ java::lang::Runtime::insertSystemProperties (java::util::Properties *newprops)
// The name used to invoke this process (argv[0] in C).
SET ("gnu.gcj.progname", _Jv_GetSafeArg (0));
+ // The the java extensions directory.
+ SET ("java.ext.dirs", JAVA_EXT_DIRS);
+
// Allow platform specific settings and overrides.
_Jv_platform_initProperties (newprops);