Re: [cp-patches] FYI: fix for DecimalFormat

2008-09-05 Thread Mario Torre
Il giorno gio, 04/09/2008 alle 01.06 +0200, Robert Schuster ha scritto: > -if (i < len && pattern.charAt(i + 1) == '\u00A4') > +if ((i + 1) < len && pattern.charAt(i + 1) == '\u00A4') I feel very stupid for this :) Cheers, Mario

[cp-patches] FYI: fix for DecimalFormat

2008-09-05 Thread Robert Schuster
Hi, the attached patch fixes a problem when you numberformat pattern contains the currency replacement character (/u00a4). I suggest that this patch should be added to GCJ as well, as it fixes an annoying issue. Regards Robert ChangeLog: 2008-09-04 Robert Schuster <[EMAIL PROTECTED]> * j