This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MessageBundle ???


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]