Unnecessary Hashtable usage in XKeysym.javaKeycode2KeysymHash

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 26
    • Affects Version/s: None
    • Component/s: client-libs
    • master

      There is a field 'sun.awt.X11.XKeysym#javaKeycode2KeysymHash' which uses legacy Hashtable class.
      As this map is read-only and all its content is initialized in <clinit> we can safely use immutable Map instead.

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

              Created:
              Updated:
              Resolved: