Is this a bug?
Tom Tromey
tromey@redhat.com
Thu Sep 5 08:37:00 GMT 2002
>>>>> "Martin" == Martin Kahlert <martin.kahlert@infineon.com> writes:
Martin> Another funny thing:
Martin> public class hello
Martin> {
Martin> final static long a = 1000000000;
Martin> final static long c = 1000L * a;
Martin> System.out.println("c = " + c);
Martin> prints:
Martin> c = 0xe8d4a51000
Martin> The hex output is strange...
I think this was fixed by this patch:
2002年04月27日 Tom Tromey <tromey@redhat.com>
For PR java/6382:
* parse.y (string_convert_int_cst): New function.
(merge_string_cste): Use it.
I don't see the hex output with my build.
Tom
More information about the Java
mailing list