XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Classlib
    • None
    • Patch Available

    Description

      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.

      Attachments

        1. HARMONY-6612.diff
          2 kB
          Lang Yang

        Activity

          People

            hindessm Mark Hindess
            yanglang Lang Yang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: