zlib1.2.3

Florian Weimer fweimer at bfk.de
Mon Aug 24 07:20:26 UTC 2009


* Martin Buchholz:

>   45 +#ifdef _LP64
>   46 +typedef unsigned int  uLong;  /* 32 bits or more */
>   47 +#else
>   48  typedef unsigned long  uLong; /* 32 bits or more */
>   49 +#endif

This is guaranteed to break interoperability with the system zlib.  If
you want to make such adjustments, you really have to rename all
functions to avoid name clashes.  Such clashes materialize if you load
a DSO which contains code linked to the system zlib (usually via JNI).

Technically, this is not a regression because OpenJDK's existing zlib
1.1 code is incompatible with 1.2 zlibs used on most systems, so the
same problem happens.

-- 
Florian Weimer                <fweimer at bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99



More information about the core-libs-dev mailing list