< prev index next >
src/hotspot/share/runtime/reflection.cpp
Print this page
*** 806,817 ****
static objArrayHandle get_exception_types(const methodHandle& method, TRAPS) {
return method->resolved_checked_exceptions(THREAD);
}
static Handle new_type(Symbol* signature, Klass* k, TRAPS) {
// Basic types
! BasicType type = vmSymbols::signature_type(signature);
if (type != T_OBJECT) {
return Handle(THREAD, Universe::java_mirror(type));
}
Klass* result =
--- 806,818 ----
static objArrayHandle get_exception_types(const methodHandle& method, TRAPS) {
return method->resolved_checked_exceptions(THREAD);
}
static Handle new_type(Symbol* signature, Klass* k, TRAPS) {
+ SignatureStream ss(signature, false);
// Basic types
! BasicType type = ss.is_reference() ? T_OBJECT : ss.type();
if (type != T_OBJECT) {
return Handle(THREAD, Universe::java_mirror(type));
}
Klass* result =
< prev index next >