Fix warnings occurring with gcc 4.3

Andrew John Hughes gnu_andrew at
Tue Feb 3 14:24:38 PST 2009

2009/2/3 Xiaobin Lu <Xiaobin.Lu at>:
> Did you check out the latest code? Those you pointed out have been already
> fixed.
> -Xiaobin
> On 02/03/09 12:30, Andrew John Hughes wrote:
>> 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.

They are not fixed in b45.
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

More information about the hotspot-dev mailing list