Native zlib libraries
ahughes at redhat.com
Thu Jul 19 06:20:44 PDT 2012
----- Original Message -----
> On 05/07/2012 17:11, Andrew Hughes wrote:
> > ----- Original Message -----
> >> Is there a way to get the native zlib libraries to get picked up
> >> instead of the hardcoded version within the JVM?
> >> --
> >> Azeem Jiva
> >> @javawithjiva
> > We have this in IcedTea (USE_SYSTEM_ZLIB=true) and intend to get it
> > upstream.
> > However, I don't see how this is related to HotSpot, as the zlib
> > usage
> > is in the jdk tree.
> I think we need to (re)start the discussion on core-libs-dev with a
> to eliminating the patches that the JDK has to zlib, see:
> One of these changes relates to the zip64 support and I believe there
> are corner cases when inflating or deflating >2GB that won't work if
> using the system zlib. Sherman will likely recall the details. Given
> that the new build already supports using the system zlib (at least
> Linux) then it would be good to sort this out so that it just works.
Hmmm... this is interesting as we've been shipping OpenJDK with system zlib the whole time.
Are some of the issues resolved in newer versions? My system copy is 1.2.7.
Not only is it generally against GNU/Linux distribution policy to bundle libraries without good reason, but it also means
we then have to rebuild OpenJDK for any security issues in those dependencies.
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07
More information about the hotspot-runtime-dev