On Wed, 29 Jan 2025 09:35:09 GMT, Andrey Turbanov <[email protected]> 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. This pull request has now been integrated. Changeset: 69e30244 Author: Andrey Turbanov <[email protected]> URL: https://git.openjdk.org/jdk/commit/69e30244c0c359e7108acd36d903fa22970822b9 Stats: 20 lines in 1 file changed: 7 ins; 9 del; 4 mod 8349157: Unnecessary Hashtable usage in XKeysym.javaKeycode2KeysymHash Reviewed-by: aivanov, serb ------------- PR: https://git.openjdk.org/jdk/pull/23347
