You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Paulex Yang (JIRA)" <ji...@apache.org> on 2006/04/12 10:42:39 UTC

[jira] Commented: (HARMONY-333) AttributedCharacterIterator taken from DecimalFormat failed to retreive attributes.

    [ http://issues.apache.org/jira/browse/HARMONY-333?page=comments#action_12374149 ] 

Paulex Yang commented on HARMONY-333:
-------------------------------------

After a quick review of codes,  I found the cause is ICU4J doesn't define the NumberFormat.Fields like Java spec, so that it probably doesn't support the attributes parsing. I'll invetigate more inside to see if any action we can take to walk around this bug.

> AttributedCharacterIterator taken from DecimalFormat failed to retreive attributes.
> -----------------------------------------------------------------------------------
>
>          Key: HARMONY-333
>          URL: http://issues.apache.org/jira/browse/HARMONY-333
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>  Environment: J9 + Harmony classlib
>     Reporter: Anton Avtamonov

>
> See test case below to understand the problem:
>     public void testAttributedCharacterIterator() throws Exception { 
>         AttributedCharacterIterator iterator = new DecimalFormat().formatToCharacterIterator(new Integer(1)); 
>         assertFalse("attributes should exist", iterator.getAttributes().isEmpty()); 
>     } 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira