<div dir="ltr">Yes, sorry about that. This is with JDK17.  I looked at the bundled zlib before posting and saw it hadn't been upgraded recently, so thought the issue wasn't known, but wasn't aware that the bundled zlib was dead on macOS ARM.<div><br></div><div>Jai's investigation is superb and matches what we see almost exactly (our test does use threading, but this must be a red herring). So I think we will consider the immediate issue resolved once we backport the fix to use the bundled zlib. That said, we'll keep an eye out for a zlib upgrade anyway for the new security issues that triggered last week's release.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 17 Oct 2022 at 10:52, Alan Bateman <<a href="mailto:Alan.Bateman@oracle.com">Alan.Bateman@oracle.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
On 17/10/2022 10:26, Mike Hearn wrote:<br>
> For some time now we've been chasing a very rare data corruption bug <br>
> in java.util.zip.Inflater that we think must be a bug in the bundled <br>
> native zlib. It gets detected by the CRC32 checks and so surfaces as a <br>
> failure to inflate. We believe this because:<br>
><br>
> 1. It only seems to happen on ARM Macs (though we haven't tested on <br>
> ARM Linux). We have never seen it on Intel.<br>
><br>
It would be useful if you could say which JDK releases you see this. As <br>
Jai linked to, the JDK is temporarily working around an issue with libz <br>
on macOS aarch64 since JDK 19 by using bundling a build of in-tree code. <br>
So it would be interesting to know if these reports include JDK 19 or <br>
are only older releases.<br>
<br>
-Alan<br>
</blockquote></div>