hotspot/src/share/vm/prims/nativeLookup.cpp
changeset 17381 a53ac5bf4850
parent 15482 470d0b0c09f1
child 20381 ed1047a3ac21
child 22827 07d991d45a51
equal deleted inserted replaced
17380:6246161bd4b6 17381:a53ac5bf4850
   381 }
   381 }
   382 
   382 
   383 
   383 
   384 address NativeLookup::lookup(methodHandle method, bool& in_base_library, TRAPS) {
   384 address NativeLookup::lookup(methodHandle method, bool& in_base_library, TRAPS) {
   385   if (!method->has_native_function()) {
   385   if (!method->has_native_function()) {
   386     address entry =
   386     address entry = lookup_base(method, in_base_library, CHECK_NULL);
   387         method->intrinsic_id() == vmIntrinsics::_invokeGeneric ?
       
   388             SharedRuntime::native_method_throw_unsupported_operation_exception_entry() :
       
   389             lookup_base(method, in_base_library, CHECK_NULL);
       
   390     method->set_native_function(entry,
   387     method->set_native_function(entry,
   391       Method::native_bind_event_is_interesting);
   388       Method::native_bind_event_is_interesting);
   392     // -verbose:jni printing
   389     // -verbose:jni printing
   393     if (PrintJNIResolving) {
   390     if (PrintJNIResolving) {
   394       ResourceMark rm(THREAD);
   391       ResourceMark rm(THREAD);