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
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
2001-10-31 Joseph S. Myers <jsm28@cam.ac.uk>
|
||||||
|
|
||||||
* HACKING, gnu/gcj/xlib/Pixmap.java, gnu/gcj/xlib/XException.java,
|
* 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.
|
// only have the system class loader.
|
||||||
jobjectArray a = JvNewObjectArray (2, &java::lang::Class::class$, NULL);
|
jobjectArray a = JvNewObjectArray (2, &java::lang::Class::class$, NULL);
|
||||||
jobject *elts = elements (a);
|
jobject *elts = elements (a);
|
||||||
elts[0] = java::lang::ClassLoader::getSystemClassLoader ();
|
elts[0] = &class$;
|
||||||
elts[1] = elts[0];
|
elts[1] = elts[0];
|
||||||
|
|
||||||
return reinterpret_cast< JArray<jclass> *> (a);
|
return reinterpret_cast< JArray<jclass> *> (a);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue