You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexei Fedotov (JIRA)" <ji...@apache.org> on 2010/06/10 10:30:13 UTC

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

    [ 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.