From 600e75c340b027977a2c92f943ae252673133586 Mon Sep 17 00:00:00 2001 From: tromey Date: Fri, 7 Jan 2000 20:23:01 +0000 Subject: * java/lang/natClass.cc (getClasses): Wrote. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31276 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/java/lang/natClass.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libjava/java') diff --git a/libjava/java/lang/natClass.cc b/libjava/java/lang/natClass.cc index 07a1e1d7620..3e410e62471 100644 --- a/libjava/java/lang/natClass.cc +++ b/libjava/java/lang/natClass.cc @@ -367,8 +367,11 @@ java::lang::Class::getName (void) JArray * java::lang::Class::getClasses (void) { - // FIXME: implement. - return NULL; + // Until we have inner classes, it always makes sense to return an + // empty array. + JArray *result + = (JArray *) JvNewObjectArray (0, &ClassClass, NULL); + return result; } JArray * -- cgit v1.2.1