harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6485) [classlib][text] DecimalFormat applyPattern error
Date Thu, 10 Jun 2010 12:39:17 GMT

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

Hudson commented on HARMONY-6485:
---------------------------------

Integrated in Harmony-select-1.5-head-linux-x86_64 #27 (See [http://hudson.zones.apache.org/hudson/job/Harmony-select-1.5-head-linux-x86_64/27/])
    Apply java5 patch from "#HARMONY-6485] [classlib][text] DecimalFormat
applyPattern error".


> [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
>             Fix For: 6.0M3, 5.0M15
>
>         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.


Mime
View raw message