# HG changeset patch # User redestad # Date 1522328731 -7200 # Node ID 24aca5861b9150b0330f90924899c14abffb76e1 # Parent 2bf8f2fc0710f6d403b1ed508ddee9148e4b4b7d 8200424: Windows build fails due to implicit jboolean to bool conversion Reviewed-by: shade, hseigel diff -r 2bf8f2fc0710 -r 24aca5861b91 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()) {