src/hotspot/share/prims/nativeLookup.cpp
changeset 59056 15936b142f86
parent 59016 3b9eeae66fa0
--- a/src/hotspot/share/prims/nativeLookup.cpp	Wed Nov 13 11:27:50 2019 +0000
+++ b/src/hotspot/share/prims/nativeLookup.cpp	Wed Nov 13 08:23:23 2019 -0500
@@ -380,7 +380,7 @@
       if (wrapper_method != NULL && !wrapper_method->is_native()) {
         // we found a wrapper method, use its native entry
         method->set_is_prefixed_native();
-        return lookup_entry(wrapper_method, in_base_library, THREAD);
+        return lookup_entry(methodHandle(THREAD, wrapper_method), in_base_library, THREAD);
       }
     }
   }