Re: 8357865: Null MethodHandle.invokeExact crashes JDK 8–18.2
David Holmes
david.holmes at oracle.com
Wed Oct 22 01:25:06 UTC 2025
Hi,
Thanks for the information. I've added your report to the JBS issue.
Cheers,
David
On 21/10/2025 11:22 pm, Daisuke Yamazaki wrote:
> Hello HotSpot developers,
>
> This is my first time contributing to OpenJDK.
>
> I have confirmed that JDK-8357865 also occurs on the following version on
> native Windows 11 x64 (not WSL):
> OpenJDK 9.0.4, 10.0.2, 11.0.2, 12.0.2, 13.0.2, 14.0.2, 15.0.2, 16.0.2,
> 17.0.2, 18.0.2.
>
> The crash happens even with -Xint (interpreter mode),
> which suggests that this is a HotSpot native runtime issue, not limited to JIT.
>
> Partial hs_err log:
> A fatal error has been detected by the Java Runtime Environment:
> EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffdab1b10d0, pid=27592, tid=67948
> JRE version: OpenJDK Runtime Environment (18.0.2+9) (build 18.0.2+9-61)
> Java VM: OpenJDK 64-Bit Server VM (18.0.2+9-61, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
> Problematic frame:
> V [jvm.dll+0x110d0]
>
> Full hs_err_pid log is saved locally and can be shared if needed.
>
> It seems that the issue is fixed sometime after JDK 19:
> openjdk version "19.0.1" 2022-10-18
>
> It seems that the issue is fixed sometime after JDK 18, as it does not occur on JDK 19.
>
> Thanks for your attention and guidance.
>
> Best regards,
> D. Yamazaki
More information about the hotspot-dev
mailing list