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

Unnecessary Hashtable usage in ConditionalSpecialCasing

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: