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

Unnecessary Hashtable usage in ConditionalSpecialCasing

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P5
    • 20
    • None
    • core-libs
    • b03

    Description

      If a thread-safe implementation is not needed, it is recommended to use HashMap in place of Hashtable.
      'ConditionalSpecialCasing.entryTable\ is a read-only Map which is modified only in static block. It means we can safely replace it with HashMap.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: