harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HARMONY-6612) Implement own instance for each ThreadGroup for class IIORegistry
Date Tue, 17 Aug 2010 07:02:17 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-6612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Hindess reassigned HARMONY-6612:
-------------------------------------

    Assignee: Mark Hindess

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


Mime
View raw message