RFR: JDK-8031767 Support system or alternative implementations of zlib

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Mon Feb 8 13:42:18 UTC 2016

On 2016-02-05 21:50, Alan Bateman wrote:
> On 05/02/2016 18:55, Xueming Shen wrote:
>> Hi
>> Please help codereview the change to build the jdk9 runtime to use 
>> the system zlib on
>> Solaris and Linux platforms by default.
>> Issue: https://bugs.openjdk.java.net/browse/JDK-8031767
>> Webrev: http://cr.openjdk.java.net/~sherman/8031767/webrev/
Looks good to me.

> I'm happy to see the default changed for Linux and Solaris builds. One 
> thing is that the patch to lib-bundled.m4 switches the build on all 
> non-Windows to use the system zlib. This may be something the SAP (AIX 
> port maintainers) might want to comment on.

As a rule of thumb, almost everyone else than Oracle uses system 
libraries as far as possible. :)

Also, changing the default is seldom a problem for anyone, as long as 
the old behavior can be achieved by a properly crafted configure command 


> -Alan.

More information about the core-libs-dev mailing list