[zlib] Why do we make uLong a 32-bit int on 64-bit platforms?
Alan Bateman
Alan.Bateman at oracle.com
Fri Jan 24 11:16:54 UTC 2020
On 15/01/2020 21:39, Volker Simonis wrote:
> Hi,
>
> is there any reason why the bundled zlib is patched to make zlib's
> "uLong" type a 32-bit int on 64-bit platforms [1]? This change to the
> original zlib is there since the very first drop of OpenJDK 6 [2] (which
> still had version 1.1.3 of zlib). Maybe it was required at that time
> when it was still possible to create images with both, 32- and 64-bit
> versions of the JDK and choose the one you want with -d64/-d32?
I vaguely remember a few issues with uLong not being defined for some
build configurations. Sherman might remember more but I suspect we've
been carrying that typedef for a long time even though it is not needed.
So I think it should be okay to remove that.
-Alan.
More information about the core-libs-dev
mailing list