equal
deleted
inserted
replaced
405 } |
405 } |
406 |
406 |
407 address NativeLookup::base_library_lookup(const char* class_name, const char* method_name, const char* signature) { |
407 address NativeLookup::base_library_lookup(const char* class_name, const char* method_name, const char* signature) { |
408 EXCEPTION_MARK; |
408 EXCEPTION_MARK; |
409 bool in_base_library = true; // SharedRuntime inits some math methods. |
409 bool in_base_library = true; // SharedRuntime inits some math methods. |
410 TempNewSymbol c_name = SymbolTable::new_symbol(class_name, CATCH); |
410 TempNewSymbol c_name = SymbolTable::new_symbol(class_name); |
411 TempNewSymbol m_name = SymbolTable::new_symbol(method_name, CATCH); |
411 TempNewSymbol m_name = SymbolTable::new_symbol(method_name); |
412 TempNewSymbol s_name = SymbolTable::new_symbol(signature, CATCH); |
412 TempNewSymbol s_name = SymbolTable::new_symbol(signature); |
413 |
413 |
414 // Find the class |
414 // Find the class |
415 Klass* k = SystemDictionary::resolve_or_fail(c_name, true, CATCH); |
415 Klass* k = SystemDictionary::resolve_or_fail(c_name, true, CATCH); |
416 InstanceKlass* klass = InstanceKlass::cast(k); |
416 InstanceKlass* klass = InstanceKlass::cast(k); |
417 |
417 |