src/hotspot/share/prims/nativeLookup.cpp
changeset 54847 59ea39bb2809
parent 54786 ebf733a324d4
child 57600 3d44a84147cc
child 58678 9cf78a70fa4f
equal deleted inserted replaced
54846:e4049522b074 54847:59ea39bb2809
   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