Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8297750

Unnecessary Vector usage in IIORegistry

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P5
    • 20
    • None
    • client-libs

    Description

      Field javax.imageio.spi.IIORegistry#initialCategories is modified only in static {} block, which makes it effectively final. Instead of legacy synchronized Vector we can use an immutable List here.

      Attachments

        Issue Links

          Activity

            People

              aturbanov Andrey Turbanov
              aturbanov Andrey Turbanov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: