equal
deleted
inserted
replaced
378 // JVM TI prefixes which have been applied to the native method name. |
378 // JVM TI prefixes which have been applied to the native method name. |
379 entry = lookup_entry_prefixed(method, in_base_library, THREAD); |
379 entry = lookup_entry_prefixed(method, in_base_library, THREAD); |
380 if (entry != NULL) return entry; |
380 if (entry != NULL) return entry; |
381 |
381 |
382 // Native function not found, throw UnsatisfiedLinkError |
382 // Native function not found, throw UnsatisfiedLinkError |
383 THROW_MSG_0(vmSymbols::java_lang_UnsatisfiedLinkError(), |
383 stringStream ss; |
384 method->name_and_sig_as_C_string()); |
384 ss.print("'"); |
|
385 method->print_external_name(&ss); |
|
386 ss.print("'"); |
|
387 THROW_MSG_0(vmSymbols::java_lang_UnsatisfiedLinkError(), ss.as_string()); |
385 } |
388 } |
386 |
389 |
387 |
390 |
388 address NativeLookup::lookup(const methodHandle& method, bool& in_base_library, TRAPS) { |
391 address NativeLookup::lookup(const methodHandle& method, bool& in_base_library, TRAPS) { |
389 if (!method->has_native_function()) { |
392 if (!method->has_native_function()) { |