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). ------------- Commit messages: - 8397431: Use --with-zlib=system on macosx-aarch64 platform Changes: https://git.openjdk.org/jdk/pull/34207/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=34207&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8397431 Stats: 5 lines in 2 files changed: 1 ins; 2 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/34207.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/34207/head:pull/34207 PR: https://git.openjdk.org/jdk/pull/34207
