From dc0a6205e631c2cb5fb50ebc8a08e397929fb82a Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 29 Mar 2005 21:47:03 +0000 Subject: natRuntime.cc (insertSystemProperties): Set gnu.gcj.runtime.endorsed.dirs. libjava: * java/lang/natRuntime.cc (insertSystemProperties): Set gnu.gcj.runtime.endorsed.dirs. * Makefile.in: Rebuilt. * Makefile.am (ordinary_java_source_files): Added HelperClassLoader.java. (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS. * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends HelperClassLoader. (init): Use addDirectoriesFromProperty. * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends HelperClassLoader. Use addDirectoriesFromProperty. Handle gnu.gcj.runtime.endorsed.dirs. * gnu/gcj/runtime/HelperClassLoader.java: New file. gcc/java: * gcj.texi (libgcj Runtime Properties): Document gnu.gcj.runtime.endorsed.dirs. From-SVN: r97207 --- gcc/java/ChangeLog | 5 +++++ gcc/java/gcj.texi | 9 +++++++++ 2 files changed, 14 insertions(+) (limited to 'gcc/java') diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 1c38f50..0c0430e 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +2005-03-29 Tom Tromey + + * gcj.texi (libgcj Runtime Properties): Document + gnu.gcj.runtime.endorsed.dirs. + 2005-03-24 Anthony Green * gcj.texi (Invoking gcj-dbtool): Document new LIBDIR option to diff --git a/gcc/java/gcj.texi b/gcc/java/gcj.texi index 748597b..df693c0 100644 --- a/gcc/java/gcj.texi +++ b/gcc/java/gcj.texi @@ -2515,6 +2515,15 @@ search is done for each requested class. If this property is set to tried again. If this property is set to @samp{never}, then lookups are never done. For more information, @xref{Extensions}. +@item gnu.gcj.runtime.endorsed.dirs +This is like the standard @code{java.endorsed.dirs}, property, but +specifies some extra directories which are searched after the standard +endorsed directories. This is primarily useful for telling +@code{libgcj} about additional libraries which are ordinarily +incorporated into the JDK, and which should be loaded by the bootstrap +class loader, but which are not yet part of @code{libgcj} itself for +some reason. + @item gnu.gcj.jit.compiler @c FIXME we should probably have a whole node on this... This is the full path to @command{gcj} executable which should be -- cgit v1.1