OSDN Git Service

* java/util/ResourceBundle.java (trySomeGetBundle): Pass class
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Dec 2000 15:49:50 +0000 (15:49 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Dec 2000 15:49:50 +0000 (15:49 +0000)
loader to Class.forName.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38289 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/java/util/ResourceBundle.java

index 24f2307..cd641e3 100644 (file)
@@ -1,3 +1,8 @@
+2000-12-15  Tom Tromey  <tromey@redhat.com>
+
+       * java/util/ResourceBundle.java (trySomeGetBundle): Pass class
+       loader to Class.forName.
+
 2000-12-14  Tom Tromey  <tromey@redhat.com>
 
        * java/util/ResourceBundle.java
index 99b81bf..ff70ae1 100644 (file)
@@ -83,7 +83,9 @@ public abstract class ResourceBundle
        {
          try 
            {
-             rbc = Class.forName(bundleName);
+             // This call is wrong by the spec, but it will have to
+             // do until our Class.forName is fixed.
+             rbc = Class.forName(bundleName, loader);
              r = null;
              try 
                {