Mercurial > hg > truffle
diff src/share/vm/prims/nativeLookup.cpp @ 10276:f0bc60565ba8
7196277: JSR 292: Two jck/runtime tests crash on java.lang.invoke.MethodHandle.invokeExact
Reviewed-by: jrose, kvn
author | twisti |
---|---|
date | Mon, 06 May 2013 13:53:13 -0700 |
parents | db9981fd3124 |
children | 836a62f43af9 675ffabf3798 bdd155477289 |
line wrap: on
line diff
--- a/src/share/vm/prims/nativeLookup.cpp Fri May 03 15:35:30 2013 -0700 +++ b/src/share/vm/prims/nativeLookup.cpp Mon May 06 13:53:13 2013 -0700 @@ -383,10 +383,7 @@ address NativeLookup::lookup(methodHandle method, bool& in_base_library, TRAPS) { if (!method->has_native_function()) { - address entry = - method->intrinsic_id() == vmIntrinsics::_invokeGeneric ? - SharedRuntime::native_method_throw_unsupported_operation_exception_entry() : - lookup_base(method, in_base_library, CHECK_NULL); + address entry = lookup_base(method, in_base_library, CHECK_NULL); method->set_native_function(entry, Method::native_bind_event_is_interesting); // -verbose:jni printing