You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2010/08/17 09:30:17 UTC
[jira] Resolved: (HARMONY-6612) Implement own instance for each
ThreadGroup for class IIORegistry
[ https://issues.apache.org/jira/browse/HARMONY-6612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Hindess resolved HARMONY-6612.
-----------------------------------
Resolution: Fixed
Applied patch at r986205. There was a minor clash with tthe import change that needed to be applied manually. Please confirm (by closing this JIRA) that the patch has been applied as expected.
> Implement own instance for each ThreadGroup for class IIORegistry
> -----------------------------------------------------------------
>
> Key: HARMONY-6612
> URL: https://issues.apache.org/jira/browse/HARMONY-6612
> Project: Harmony
> Issue Type: Sub-task
> Components: Classlib
> Reporter: Lang Yang
> Assignee: Mark Hindess
> Attachments: HARMONY-6612.diff
>
>
> Spec - http://download.oracle.com/javase/1.4.2/docs/api/javax/imageio/spi/IIORegistry.html#getDefaultInstance()
> The method getDefaultInstance() should return the IIORegistry instance for the current ThreadGroup.
> This implementation maintains a synchronized hash map to store instances for each ThreadGroup, use ThreadGroup as the key, IIORegistry instance as the value. When the getDefaultInstance() method is being called, we will looks up in the hashmap see if there is exist record, if there is not then a new instance will be created and pushed to the hashmap.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.