[patch] fix build on architectures with a signed size_t

Matthias Klose doko at ubuntu.com
Sun Aug 3 10:34:14 PDT 2008


attached are three patches to build on architectures with a signed size_t
(s390-linux-gnu).

 - jdk-signed-size_t.diff, there's already a compat SSIZE_T macro in the code,
   just use it.

 - hotspot-idx_t-signed-size_t.diff, the BitMap code assumes a unsigned
   size_t.

 - hotspot-params-signed-size_t.diff, command line parameters of type
   size_t currently are not supported. As a workaround, add casts. This
   may be better addressed.

Matthias
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: jdk-signed-size_t.diff
Url: http://mail.openjdk.java.net/pipermail/jdk6-dev/attachments/20080803/7513da86/attachment.ksh 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hotspot-idx_t-signed-size_t.diff
Url: http://mail.openjdk.java.net/pipermail/jdk6-dev/attachments/20080803/7513da86/attachment-0001.ksh 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hotspot-params-signed-size_t.diff
Url: http://mail.openjdk.java.net/pipermail/jdk6-dev/attachments/20080803/7513da86/attachment-0002.ksh 


More information about the jdk6-dev mailing list