aboutsummaryrefslogtreecommitdiff
path: root/libjava/java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java')
-rw-r--r--libjava/java/io/StreamTokenizer.java2
-rw-r--r--libjava/java/util/ResourceBundle.java9
2 files changed, 10 insertions, 1 deletions
diff --git a/libjava/java/io/StreamTokenizer.java b/libjava/java/io/StreamTokenizer.java
index 7f4790b..dfb20f2 100644
--- a/libjava/java/io/StreamTokenizer.java
+++ b/libjava/java/io/StreamTokenizer.java
@@ -407,7 +407,7 @@ public class StreamTokenizer
ttype = TT_WORD;
sval = tokbuf.toString();
if (lowerCase)
- sval.toLowerCase();
+ sval = sval.toLowerCase();
}
else if (isComment(ch))
{
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