equal
deleted
inserted
replaced
645 BasicType type = vmSymbols::signature_type(signature); |
645 BasicType type = vmSymbols::signature_type(signature); |
646 if (type != T_OBJECT) { |
646 if (type != T_OBJECT) { |
647 return Handle(THREAD, Universe::java_mirror(type)); |
647 return Handle(THREAD, Universe::java_mirror(type)); |
648 } |
648 } |
649 |
649 |
650 oop loader = InstanceKlass::cast(k())->class_loader(); |
|
651 oop protection_domain = k()->protection_domain(); |
|
652 Klass* result = SystemDictionary::resolve_or_fail(signature, |
650 Klass* result = SystemDictionary::resolve_or_fail(signature, |
653 Handle(THREAD, loader), |
651 Handle(THREAD, k->class_loader()), |
654 Handle(THREAD, protection_domain), |
652 Handle(THREAD, k->protection_domain()), |
655 true, CHECK_(Handle())); |
653 true, CHECK_(Handle())); |
656 |
654 |
657 if (TraceClassResolution) { |
655 if (TraceClassResolution) { |
658 trace_class_resolution(result); |
656 trace_class_resolution(result); |
659 } |
657 } |