7188911: nightly failures after JSR 292 lazy method handle update (round 2)

Reviewed-by: kvn, jrose
This commit is contained in:
Christian Thalinger 2012-08-07 14:32:08 -07:00
parent e409ee94ae
commit e622fcdc27
11 changed files with 147 additions and 109 deletions

View file

@ -381,7 +381,10 @@ address NativeLookup::lookup_base(methodHandle method, bool& in_base_library, TR
address NativeLookup::lookup(methodHandle method, bool& in_base_library, TRAPS) {
if (!method->has_native_function()) {
address entry = lookup_base(method, in_base_library, CHECK_NULL);
address entry =
method->intrinsic_id() == vmIntrinsics::_invokeGeneric ?
SharedRuntime::native_method_throw_unsupported_operation_exception_entry() :
lookup_base(method, in_base_library, CHECK_NULL);
method->set_native_function(entry,
methodOopDesc::native_bind_event_is_interesting);
// -verbose:jni printing