< prev index next >

src/hotspot/share/prims/nativeLookup.cpp

Print this page

        

*** 378,392 **** // JVM TI prefixes which have been applied to the native method name. entry = lookup_entry_prefixed(method, in_base_library, THREAD); if (entry != NULL) return entry; // Native function not found, throw UnsatisfiedLinkError ! stringStream ss; ! ss.print("'"); ! method->print_external_name(&ss); ! ss.print("'"); ! THROW_MSG_0(vmSymbols::java_lang_UnsatisfiedLinkError(), ss.as_string()); } address NativeLookup::lookup(const methodHandle& method, bool& in_base_library, TRAPS) { if (!method->has_native_function()) { --- 378,389 ---- // JVM TI prefixes which have been applied to the native method name. entry = lookup_entry_prefixed(method, in_base_library, THREAD); if (entry != NULL) return entry; // Native function not found, throw UnsatisfiedLinkError ! THROW_MSG_0(vmSymbols::java_lang_UnsatisfiedLinkError(), ! method->name_and_sig_as_C_string()); } address NativeLookup::lookup(const methodHandle& method, bool& in_base_library, TRAPS) { if (!method->has_native_function()) {
< prev index next >