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] Resolved: (HARMONY-6612) Implement own instance for each ThreadGroup for class IIORegistry
Date Tue, 17 Aug 2010 07:30:17 GMT

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