diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-27 00:24:52 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-27 00:24:52 +0000 |
commit | b6a6dff4d632d7fa656aaf200c44c459de9650c7 (patch) | |
tree | 5ca5df2d1f2fc990bd822d916a85cf723ab4091a /libjava/java/util/ResourceBundle.java | |
parent | 355bb2bf489ad9cf8492d2fe8c54b159ecf26138 (diff) | |
download | ppe42-gcc-b6a6dff4d632d7fa656aaf200c44c459de9650c7.tar.gz ppe42-gcc-b6a6dff4d632d7fa656aaf200c44c459de9650c7.zip |
* gnu/classpath/Configuration.java.in (INIT_LOAD_LIBRARY): New
constant.
* java/io/StreamTokenizer.java, java/util/ResourceBundle.java:
Re-merged with Classpath.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45835 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/util/ResourceBundle.java')
-rw-r--r-- | libjava/java/util/ResourceBundle.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libjava/java/util/ResourceBundle.java b/libjava/java/util/ResourceBundle.java index 30f28a6d685..f2fa7763d7c 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 |