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:
parent
234f46aead
commit
bce3517960
@ -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,
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user