RFR: 8286623: Bundle zlib by default with JDK on macos aarch64

Sergey Bylokhov serb at openjdk.org
Fri Jun 17 23:14:53 UTC 2022


On Fri, 13 May 2022 01:54:50 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

>> Can I please get a review of this change to the build system which now makes bundled zlib as the default for macos aarch64 systems? 
>> 
>> We have been running into various intermittent failures on macos aarch64 systems for several months now. After investigation we have been able to ascertain that the root cause of the issue lies within the zlib that's shipped on macos aarch64 systems. The complete details about that issue is available at https://bugs.openjdk.java.net/browse/JDK-8282954. 
>> We have filed a bug with Apple for their inputs on what we can do to fix it in that shipped library. Given the nature of that issue, we don't have a timeline on when/if the solution for that will be available. Until that time, at least, the proposal is to use bundled zlib (which doesn't reproduce those failures) by default on macos aarch64.
>
> Thank you everyone for the reviews.

@jaikiran Do you have a plan to backport this fix to the 17 and below?

-------------

PR: https://git.openjdk.org/jdk/pull/8675


More information about the core-libs-dev mailing list