harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lang Yang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-6612) Implement own instance for each ThreadGroup for class IIORegistry
Date Mon, 09 Aug 2010 00:11:16 GMT

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

Lang Yang updated HARMONY-6612:

    Attachment: HARMONY-6612.diff

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

View raw message