From 03219cb5d99220b9ec99520d304fcc467f69cb73 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 27 Sep 2001 00:24:52 +0000 Subject: Configuration.java.in (INIT_LOAD_LIBRARY): New constant. * gnu/classpath/Configuration.java.in (INIT_LOAD_LIBRARY): New constant. * java/io/StreamTokenizer.java, java/util/ResourceBundle.java: Re-merged with Classpath. From-SVN: r45835 --- libjava/java/util/ResourceBundle.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libjava/java/util/ResourceBundle.java') diff --git a/libjava/java/util/ResourceBundle.java b/libjava/java/util/ResourceBundle.java index 30f28a6..f2fa776 100644 --- a/libjava/java/util/ResourceBundle.java +++ b/libjava/java/util/ResourceBundle.java @@ -28,6 +28,7 @@ executable file might be covered by the GNU General Public License. */ package java.util; import java.lang.ref.Reference; import java.lang.ref.SoftReference; +import gnu.classpath.Configuration; /** * A resource bundle contains locale-specific data. If you need @@ -73,6 +74,14 @@ import java.lang.ref.SoftReference; * @author Jochen Hoenicke */ public abstract class ResourceBundle { + static + { + if (Configuration.INIT_LOAD_LIBRARY) + { + System.loadLibrary ("javautil"); + } + } + /** * The parent bundle. This is consulted when you call getObject * and there is no such resource in the current bundle. This -- cgit v1.1