mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
7188911: nightly failures after JSR 292 lazy method handle update (round 2)
Reviewed-by: kvn, jrose
This commit is contained in:
parent
e409ee94ae
commit
e622fcdc27
11 changed files with 147 additions and 109 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue