8200424: Windows build fails due to implicit jboolean to bool conversion
authorredestad
Thu, 29 Mar 2018 15:05:31 +0200
changeset 49646 24aca5861b91
parent 49645 2bf8f2fc0710
child 49647 5a757c0326c7
8200424: Windows build fails due to implicit jboolean to bool conversion Reviewed-by: shade, hseigel
src/hotspot/share/prims/methodHandles.cpp
--- a/src/hotspot/share/prims/methodHandles.cpp	Thu Mar 29 14:50:25 2018 +0200
+++ b/src/hotspot/share/prims/methodHandles.cpp	Thu Mar 29 15:05:31 2018 +0200
@@ -1226,7 +1226,7 @@
 
   Klass* caller = caller_jh == NULL ? NULL :
                      java_lang_Class::as_Klass(JNIHandles::resolve_non_null(caller_jh));
-  Handle resolved = MethodHandles::resolve_MemberName(mname, caller, speculative_resolve,
+  Handle resolved = MethodHandles::resolve_MemberName(mname, caller, speculative_resolve == JNI_TRUE,
                                                       CHECK_NULL);
 
   if (resolved.is_null()) {