For PR java/8415:
* java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass. * prims.cc (_Jv_FindClassFromSignature): Indentation fix. From-SVN: r58757
This commit is contained in:
parent
fafe87d07d
commit
fead5eb589
3 changed files with 9 additions and 5 deletions
|
@ -202,13 +202,12 @@ java::lang::reflect::Method::getType ()
|
|||
}
|
||||
|
||||
exception_types
|
||||
= (JArray<jclass> *) JvNewObjectArray (count,
|
||||
&java::lang::Class::class$,
|
||||
= (JArray<jclass> *) JvNewObjectArray (count, &java::lang::Class::class$,
|
||||
NULL);
|
||||
jclass *elts = elements (exception_types);
|
||||
for (int i = 0; i < count; ++i)
|
||||
elts[i] = _Jv_FindClassFromSignature (method->throws[i]->data,
|
||||
declaringClass->getClassLoader ());
|
||||
elts[i] = _Jv_FindClass (method->throws[i],
|
||||
declaringClass->getClassLoader ());
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue