harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulex Yang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-333) AttributedCharacterIterator taken from DecimalFormat failed to retreive attributes.
Date Wed, 12 Apr 2006 08:42:39 GMT
    [ 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


Mime
View raw message