Fix warnings occurring with gcc 4.3

Andrew John Hughes gnu_andrew at
Tue Feb 3 12:30:03 PST 2009

A number of warnings are thrown when compiling the HotSpot code with
gcc 4.3, all of which are related to the incorrect use of printf
format specifiers.  As HotSpot is built with -Werror, these cause the
build to fail.  The attached patch against OpenJDK7 fixes them.
Andrew :-)

IcedTea/OpenJDK Software Engineer
Red Hat, Inc. (

Support Free Java!
Contribute to GNU Classpath and the OpenJDK

PGP Key: 94EFD9D8 (
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icedtea-format.patch
Type: application/octet-stream
Size: 2636 bytes
Desc: not available
Url : 

More information about the hotspot-dev mailing list