natResourceBundle.cc (getClassContext): return array of Class instead of array of ClassLoader.

2001-11-02  Hans Boehm <Hans_Boehm@hp.com>

        * java/util/natResourceBundle.cc:getClassContext: return
        array of Class instead of array of ClassLoader.

From-SVN: r46727
This commit is contained in:
Hans Boehm 2001-11-03 03:13:07 +00:00 committed by Hans Boehm
parent 234f46aead
commit bce3517960
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-11-02 Hans Boehm <Hans_Boehm@hp.com>
* java/util/natResourceBundle.cc:getClassContext: return
array of Class instead of array of ClassLoader.
2001-10-31 Joseph S. Myers <jsm28@cam.ac.uk>
* HACKING, gnu/gcj/xlib/Pixmap.java, gnu/gcj/xlib/XException.java,

View File

@ -24,7 +24,7 @@ java::util::ResourceBundle::getClassContext ()
// only have the system class loader.
jobjectArray a = JvNewObjectArray (2, &java::lang::Class::class$, NULL);
jobject *elts = elements (a);
elts[0] = java::lang::ClassLoader::getSystemClassLoader ();
elts[0] = &class$;
elts[1] = elts[0];
return reinterpret_cast< JArray<jclass> *> (a);