Method.java (getExceptionTypes): Call getType() to initialize if exception_types is null.
* java/lang/reflect/Method.java (getExceptionTypes): Call getType() to initialize if exception_types is null. * java/lang/reflect/Constructor.java: Likewise. * java/lang/reflect/natConstructor.cc (getType): Initialize exception_types to an empty Object array. From-SVN: r40730
This commit is contained in:
parent
b5f1747c30
commit
595420bfea
4 changed files with 18 additions and 2 deletions
|
@ -34,6 +34,10 @@ java::lang::reflect::Constructor::getType ()
|
|||
declaringClass,
|
||||
¶meter_types,
|
||||
NULL);
|
||||
|
||||
// FIXME: for now we have no way to get exception information.
|
||||
exception_types =
|
||||
(JArray<jclass> *) JvNewObjectArray (0, &java::lang::Class::class$, NULL);
|
||||
}
|
||||
|
||||
jobject
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue