You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Lang Yang (JIRA)" <ji...@apache.org> on 2010/04/27 01:23:31 UTC

[jira] Created: (HARMONY-6506) [classlib][imageio] ServiceRegistry.registerServiceProvider failed to return correct value

[classlib][imageio] ServiceRegistry.registerServiceProvider failed to return correct value
------------------------------------------------------------------------------------------

                 Key: HARMONY-6506
                 URL: https://issues.apache.org/jira/browse/HARMONY-6506
             Project: Harmony
          Issue Type: Sub-task
            Reporter: Lang Yang


According to the spec [1], method  ImageIO.ServiceRegistry.registerServiceProvider(object, class) should return TRUE if if no provider of the same class was previously registered in the same category category. 

The current implementation return FALSE. 

[1] - http://java.sun.com/j2se/1.4.2/docs/api/javax/imageio/spi/ServiceRegistry.html#registerServiceProvider(java.lang.Object, java.lang.Class)

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


[jira] Commented: (HARMONY-6506) [classlib][imageio] ServiceRegistry.registerServiceProvider failed to return correct value

Posted by "Alexei Fedotov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-6506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877373#action_12877373 ] 

Alexei Fedotov commented on HARMONY-6506:
-----------------------------------------

Lang, thank you for the contribution. I have slightly fixed assert messages and made the test independent from the Java implementation. Please check you agree with the version committed at r953244.

> [classlib][imageio] ServiceRegistry.registerServiceProvider failed to return correct value
> ------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6506
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6506
>             Project: Harmony
>          Issue Type: Sub-task
>            Reporter: Lang Yang
>            Assignee: Alexei Fedotov
>         Attachments: HARMONY-6506-lang.txt
>
>
> According to the spec [1], method  ImageIO.ServiceRegistry.registerServiceProvider(object, class) should return TRUE if if no provider of the same class was previously registered in the same category category. 
> The current implementation return FALSE. 
> [1] - http://java.sun.com/j2se/1.4.2/docs/api/javax/imageio/spi/ServiceRegistry.html#registerServiceProvider(java.lang.Object, java.lang.Class)

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


[jira] Updated: (HARMONY-6506) [classlib][imageio] ServiceRegistry.registerServiceProvider failed to return correct value

Posted by "Lang Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-6506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lang Yang updated HARMONY-6506:
-------------------------------

    Attachment: HARMONY-6506-lang.txt

Test case is also provided. Let me know if there is any problem with it.

Thank you,

Lang

> [classlib][imageio] ServiceRegistry.registerServiceProvider failed to return correct value
> ------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6506
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6506
>             Project: Harmony
>          Issue Type: Sub-task
>            Reporter: Lang Yang
>         Attachments: HARMONY-6506-lang.txt
>
>
> According to the spec [1], method  ImageIO.ServiceRegistry.registerServiceProvider(object, class) should return TRUE if if no provider of the same class was previously registered in the same category category. 
> The current implementation return FALSE. 
> [1] - http://java.sun.com/j2se/1.4.2/docs/api/javax/imageio/spi/ServiceRegistry.html#registerServiceProvider(java.lang.Object, java.lang.Class)

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


[jira] Assigned: (HARMONY-6506) [classlib][imageio] ServiceRegistry.registerServiceProvider failed to return correct value

Posted by "Alexei Fedotov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-6506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexei Fedotov reassigned HARMONY-6506:
---------------------------------------

    Assignee: Alexei Fedotov

> [classlib][imageio] ServiceRegistry.registerServiceProvider failed to return correct value
> ------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6506
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6506
>             Project: Harmony
>          Issue Type: Sub-task
>            Reporter: Lang Yang
>            Assignee: Alexei Fedotov
>         Attachments: HARMONY-6506-lang.txt
>
>
> According to the spec [1], method  ImageIO.ServiceRegistry.registerServiceProvider(object, class) should return TRUE if if no provider of the same class was previously registered in the same category category. 
> The current implementation return FALSE. 
> [1] - http://java.sun.com/j2se/1.4.2/docs/api/javax/imageio/spi/ServiceRegistry.html#registerServiceProvider(java.lang.Object, java.lang.Class)

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


[jira] Commented: (HARMONY-6506) [classlib][imageio] ServiceRegistry.registerServiceProvider failed to return correct value

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-6506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877380#action_12877380 ] 

Hudson commented on HARMONY-6506:
---------------------------------

Integrated in Harmony-select-1.5-head-linux-x86_64 #26 (See [http://hudson.zones.apache.org/hudson/job/Harmony-select-1.5-head-linux-x86_64/26/])
    Committed Lang Yang's patch for HARMONY-6506. Fixed the return value for
registerServiceProvider(java.lang.Object, java.lang.Class).


> [classlib][imageio] ServiceRegistry.registerServiceProvider failed to return correct value
> ------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6506
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6506
>             Project: Harmony
>          Issue Type: Sub-task
>            Reporter: Lang Yang
>            Assignee: Alexei Fedotov
>         Attachments: HARMONY-6506-lang.txt
>
>
> According to the spec [1], method  ImageIO.ServiceRegistry.registerServiceProvider(object, class) should return TRUE if if no provider of the same class was previously registered in the same category category. 
> The current implementation return FALSE. 
> [1] - http://java.sun.com/j2se/1.4.2/docs/api/javax/imageio/spi/ServiceRegistry.html#registerServiceProvider(java.lang.Object, java.lang.Class)

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


[jira] Closed: (HARMONY-6506) [classlib][imageio] ServiceRegistry.registerServiceProvider failed to return correct value

Posted by "Lang Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-6506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lang Yang closed HARMONY-6506.
------------------------------

    Resolution: Fixed

Fixed in the HARMONY-6507

Thanks,

Lang

> [classlib][imageio] ServiceRegistry.registerServiceProvider failed to return correct value
> ------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6506
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6506
>             Project: Harmony
>          Issue Type: Sub-task
>            Reporter: Lang Yang
>         Attachments: HARMONY-6506-lang.txt
>
>
> According to the spec [1], method  ImageIO.ServiceRegistry.registerServiceProvider(object, class) should return TRUE if if no provider of the same class was previously registered in the same category category. 
> The current implementation return FALSE. 
> [1] - http://java.sun.com/j2se/1.4.2/docs/api/javax/imageio/spi/ServiceRegistry.html#registerServiceProvider(java.lang.Object, java.lang.Class)

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


[jira] Commented: (HARMONY-6506) [classlib][imageio] ServiceRegistry.registerServiceProvider failed to return correct value

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-6506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877384#action_12877384 ] 

Hudson commented on HARMONY-6506:
---------------------------------

Integrated in Harmony-1.5-head-linux-x86_64 #838 (See [http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/838/])
    Committed Lang Yang's patch for HARMONY-6506. Fixed the return value for
registerServiceProvider(java.lang.Object, java.lang.Class).


> [classlib][imageio] ServiceRegistry.registerServiceProvider failed to return correct value
> ------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6506
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6506
>             Project: Harmony
>          Issue Type: Sub-task
>            Reporter: Lang Yang
>            Assignee: Alexei Fedotov
>         Attachments: HARMONY-6506-lang.txt
>
>
> According to the spec [1], method  ImageIO.ServiceRegistry.registerServiceProvider(object, class) should return TRUE if if no provider of the same class was previously registered in the same category category. 
> The current implementation return FALSE. 
> [1] - http://java.sun.com/j2se/1.4.2/docs/api/javax/imageio/spi/ServiceRegistry.html#registerServiceProvider(java.lang.Object, java.lang.Class)

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