On Fri, 4 Dec 2026 04:56:45 GMT, Jaikiran Pai <[email protected]> wrote:
> Can I please get a review of this change which proposes to switch the `zlib` > library usage in to the JDK to `system` for macosx-aarch64? > > As noted in https://bugs.openjdk.org/browse/JDK-8397431, in Java 19, we > switched `--with-zlib` to `bundled` on macosx-aarch64. That was a forced > decision due to a bug in the zlib that was shipped in macosx aarch64 systems > at that time. We had reported the issue to Apple and they had notified us > that the issue has been addressed in macosx 13.x version. > > It's now been several releases since macosx 13.x and we should now switch > back to using `system` on this platform. The original issue was hard to > reproduce and there isn't any detail about what the fix or underlying root > cause of the issue was. So after we switch this back, we will keep an eye to > see if this shows up again in the current versions of macosx. This update is > being done very early in the release lifecyle of JDK 29, to allow the change > to see as much usage as possible. > > I have run tier1 through tier8 in our CI with this change and no related > failures have been found. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). Good ------------- Marked as reviewed by alanb (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/34207#pullrequestreview-6184888868
