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

          hindessm Mark Hindess added a comment -

          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.

          hindessm Mark Hindess added a comment - 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.
          hudson Hudson added a comment -

          Integrated in Harmony-1.5-head-linux-x86_64 #935 (See https://hudson.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/935/)
          Apply patch from "HARMONY-6612 Implement own instance for each
          ThreadGroup for class IIORegistry". First hunk needed to be applied
          manually.

          hudson Hudson added a comment - Integrated in Harmony-1.5-head-linux-x86_64 #935 (See https://hudson.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/935/ ) Apply patch from " HARMONY-6612 Implement own instance for each ThreadGroup for class IIORegistry". First hunk needed to be applied manually.
          hudson Hudson added a comment -

          Integrated in Harmony-select-1.5-head-linux-x86_64 #96 (See https://hudson.apache.org/hudson/job/Harmony-select-1.5-head-linux-x86_64/96/)
          Apply patch from "HARMONY-6612 Implement own instance for each
          ThreadGroup for class IIORegistry". First hunk needed to be applied
          manually.

          hudson Hudson added a comment - Integrated in Harmony-select-1.5-head-linux-x86_64 #96 (See https://hudson.apache.org/hudson/job/Harmony-select-1.5-head-linux-x86_64/96/ ) Apply patch from " HARMONY-6612 Implement own instance for each ThreadGroup for class IIORegistry". First hunk needed to be applied manually.
          yanglang Lang Yang added a comment -

          Thanks Mark. Verified.

          yanglang Lang Yang added a comment - Thanks Mark. Verified.

          People

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

            Dates

              Created:
              Updated:
              Resolved: