MessageBundle ???

Andrew Haley aph@redhat.com
Mon Apr 4 09:38:00 GMT 2011


On 04/01/2011 08:32 PM, Mark Wielaard wrote:
> On Fri, 2011-04-01 at 18:43 +0100, Andrew Haley wrote:
>>>> java.lang.NumberFormatException: invalid character at position 2 in 09
>>>
>>> That's just a bug: leading zeroes in format fields aren't being handled
>>> correctly.  The "09" is being parsed as an octal number because it begins
>>> with a zero.
>>
>> The fix for the exception is
>>
> Coincidentally the exact same problem and fix were discovered by Pekka
> and went into GNU Classpath recently.

gcc is in Stage 1, so we could just bulk-import Classpath.

What do you think?

Andrew.



More information about the Java mailing list