[cp-patches] [PATCH] Fix Formatter.parseInt() wrt. leading zeroes

2011-02-16 Thread Pekka Enberg
The following test case: public class StringTest { public static void main(String[] args) { System.out.println(String.format(%08x, 1234)); } } produces the following error: Exception in thread main java.lang.NumberFormatException: invalid character at position 2 in 08 at

Re: [cp-patches] [PATCH] Fix Formatter.parseInt() wrt. leading zeroes

2011-02-16 Thread Dr Andrew John Hughes
On 18:57 Wed 16 Feb , Pekka Enberg wrote: The following test case: public class StringTest { public static void main(String[] args) { System.out.println(String.format(%08x, 1234)); } } produces the following error: Exception in thread main