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

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

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


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

Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-333?page=all ]

Nathan Beyer resolved HARMONY-333.
----------------------------------

    Resolution: Fixed

I added a regression test to DecimalFormatTest, based on the original issue, which seems to be resolved now. Can someone please verify that this is working for them as well? Thanks.

> AttributedCharacterIterator taken from DecimalFormat failed to retreive attributes.
> -----------------------------------------------------------------------------------
>
>                 Key: HARMONY-333
>                 URL: http://issues.apache.org/jira/browse/HARMONY-333
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: J9 + Harmony classlib
>            Reporter: Anton Avtamonov
>         Assigned To: Nathan Beyer
>
> 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

        

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

Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-333?page=comments#action_12376714 ] 

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

For those who are interest in this issue, Richard has raised bug to ICU project, pls. see [1]  for details on the progress.

[1] http://bugs.icu-project.org/cgi-bin/icu-bugs/incoming?findid=5176

> 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


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

Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
    [ 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


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

Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-333?page=all ]

Nathan Beyer reassigned HARMONY-333:
------------------------------------

    Assignee: Nathan Beyer

> AttributedCharacterIterator taken from DecimalFormat failed to retreive attributes.
> -----------------------------------------------------------------------------------
>
>                 Key: HARMONY-333
>                 URL: http://issues.apache.org/jira/browse/HARMONY-333
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: J9 + Harmony classlib
>            Reporter: Anton Avtamonov
>         Assigned To: Nathan Beyer
>
> 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

        

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

Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-333?page=comments#action_12374877 ] 

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

Have got response from ICU team and confirmed that ICU didn't support this feature so far, I'll work with them to see if we can fix it by add this feature to ICU, so that our codes don't need any modification.

> 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


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

Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-333?page=comments#action_12442729 ] 
            
Nathan Beyer commented on HARMONY-333:
--------------------------------------

According to the ICU bug site, this issue has been fixed. Has it been fixed in ICU 3.4, which is already packaged, or do we need to wait until the latest ICU (3.6?) gets integrated.

> AttributedCharacterIterator taken from DecimalFormat failed to retreive attributes.
> -----------------------------------------------------------------------------------
>
>                 Key: HARMONY-333
>                 URL: http://issues.apache.org/jira/browse/HARMONY-333
>             Project: Harmony
>          Issue 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