You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2010/06/10 13:23:16 UTC

[jira] Commented: (HARMONY-6485) [classlib][text] DecimalFormat applyPattern error

    [ https://issues.apache.org/jira/browse/HARMONY-6485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877397#action_12877397 ] 

Mark Hindess commented on HARMONY-6485:
---------------------------------------

I've applied the java5 patch at r953280.  Please confirm that this has been applied as expected.


> [classlib][text] DecimalFormat applyPattern error
> -------------------------------------------------
>
>                 Key: HARMONY-6485
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6485
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 6.0M1
>            Reporter: Pons Rudy
>            Assignee: Mark Hindess
>         Attachments: java5.patch, java6.patch
>
>
> DecimalFormat's methods applyPattern and applyLocalizedPattern don't update max/min integer/fraction digits :
> DecimalFormat df = new DecimalFormat();
> df.applyPattern("#00.0#");
> System.out.print(df.getMinimumIntegerDigits() + " " + df.getMinimumFractionDigits() + " " + df.getMaximumFractionDigits());
> will print 1 0 3 instead of 2 1 2.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.