src/hotspot/share/runtime/reflection.cpp
changeset 59056 15936b142f86
parent 58273 08a5148e7c4e
--- a/src/hotspot/share/runtime/reflection.cpp	Wed Nov 13 11:27:50 2019 +0000
+++ b/src/hotspot/share/runtime/reflection.cpp	Wed Nov 13 08:23:23 2019 -0500
@@ -978,7 +978,7 @@
                                        LinkInfo(klass, name, signature),
                                        true,
                                        CHECK_(methodHandle()));
-  return info.selected_method();
+  return methodHandle(THREAD, info.selected_method());
 }
 
 // Conversion