From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25133 invoked by alias); 4 Apr 2011 09:38:17 -0000 Received: (qmail 25125 invoked by uid 22791); 4 Apr 2011 09:38:16 -0000 X-SWARE-Spam-Status: No, hits=-6.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 04 Apr 2011 09:38:08 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p349c8Sc006577 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 4 Apr 2011 05:38:08 -0400 Received: from zebedee.pink (ovpn-113-109.phx2.redhat.com [10.3.113.109]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p349c6KC024657; Mon, 4 Apr 2011 05:38:07 -0400 Message-ID: <4D99917E.1000508@redhat.com> Date: Mon, 04 Apr 2011 09:38:00 -0000 From: Andrew Haley User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Thunderbird/3.1.9 MIME-Version: 1.0 To: java@gcc.gnu.org CC: "classpath@gnu.org" Subject: Re: MessageBundle ??? References: <1301667745.1724.2.camel@linux-pc> <4D95E7BB.4020409@redhat.com> <4D960ECF.6030908@redhat.com> <1301686328.14810.6.camel@springer.wildebeest.org> In-Reply-To: <1301686328.14810.6.camel@springer.wildebeest.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2011-04/txt/msg00019.txt.bz2 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.