comparison src/share/vm/prims/nativeLookup.cpp @ 6271:93c71eb28866

7188911: nightly failures after JSR 292 lazy method handle update (round 2) Reviewed-by: kvn, jrose
author twisti
date Tue, 07 Aug 2012 14:32:08 -0700
parents 2d503de963b3
children 957c266d8bc5 da91efe96a93
comparison
equal deleted inserted replaced
6270:b72784e722ff 6271:93c71eb28866
379 } 379 }
380 380
381 381
382 address NativeLookup::lookup(methodHandle method, bool& in_base_library, TRAPS) { 382 address NativeLookup::lookup(methodHandle method, bool& in_base_library, TRAPS) {
383 if (!method->has_native_function()) { 383 if (!method->has_native_function()) {
384 address entry = lookup_base(method, in_base_library, CHECK_NULL); 384 address entry =
385 method->intrinsic_id() == vmIntrinsics::_invokeGeneric ?
386 SharedRuntime::native_method_throw_unsupported_operation_exception_entry() :
387 lookup_base(method, in_base_library, CHECK_NULL);
385 method->set_native_function(entry, 388 method->set_native_function(entry,
386 methodOopDesc::native_bind_event_is_interesting); 389 methodOopDesc::native_bind_event_is_interesting);
387 // -verbose:jni printing 390 // -verbose:jni printing
388 if (PrintJNIResolving) { 391 if (PrintJNIResolving) {
389 ResourceMark rm(THREAD); 392 ResourceMark rm(THREAD);