This fixes a recent commit via #123708 The patch itself had an additional '%s' in the sprintf which is unsafe depending on the surrounding memory.
This patch fixes https://github.com/NixOS/nixpkgs/issues/103493 for JDK8 only. I'm upstreaming only for JDK8 to get quorum on the approach and then adding the patches to the remaining versions. Improved JDK8 patch Improved JDK8 patch