[cp-patches] FYI: fix for DecimalFormat

Robert Schuster r.schuster at tarent.de
Wed Sep 3 23:06:39 UTC 2008


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  <robertschuster at fsfe.org>

    * java/text/DecimalFormat.java:
    (scanFix): Use 'i + 1' when looking at following character.
    (scanNegativePattern): Dito.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: cp-decimalformat.patch
Type: text/x-patch
Size: 1408 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20080904/aa943d5e/attachment.bin 


More information about the Classpath-patches mailing list