RFR: 8349157: Unnecessary Hashtable usage in XKeysym.javaKeycode2KeysymHash
Alexey Ivanov
aivanov at openjdk.org
Tue Nov 4 14:36:41 UTC 2025
On Wed, 29 Jan 2025 09:35:09 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:
> 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.
I submitted a test job.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23347#issuecomment-3486307190
More information about the client-libs-dev
mailing list