8200424: Windows build fails due to implicit jboolean to bool conversion
Reviewed-by: shade, hseigel
--- 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()) {