Commit bd3a924b by Tom Tromey Committed by Tom Tromey

* java/lang/natClass.cc (getClasses): Wrote.

From-SVN: r31276
parent c71791e0
2000-01-07 Tom Tromey <tromey@cygnus.com>
* java/lang/natClass.cc (getClasses): Wrote.
2000-01-06 Tom Tromey <tromey@cygnus.com>
* java/lang/natClass.cc (_getConstructors): Correctly check
......
......@@ -367,8 +367,11 @@ java::lang::Class::getName (void)
JArray<jclass> *
java::lang::Class::getClasses (void)
{
// FIXME: implement.
return NULL;
// Until we have inner classes, it always makes sense to return an
// empty array.
JArray<jclass> *result
= (JArray<jclass> *) JvNewObjectArray (0, &ClassClass, NULL);
return result;
}
JArray<jclass> *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment