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

Refactor out static initialization from Dict constructors

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 15
    • 15
    • hotspot
    • b11

      in libadt/dict.cpp, Dict constructors have instances of duplicated code that checks and initiailizes a datastructure used by hashstr. The code is trivial and generates an array of 20 int values. Simply spelling out that constant array would be a net cleanup

            redestad Claes Redestad
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: