On Thu, 16 Jan 2025 11:53:18 GMT, Andrey Turbanov <aturba...@openjdk.org> wrote:
> There is a field `javax.swing.text.html.CSS#styleConstantToCssMap` 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: 56a18779 Author: Andrey Turbanov <aturba...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/56a187798991cb6dede62ac166cbdca7a654cf7f Stats: 36 lines in 1 file changed: 2 ins; 0 del; 34 mod 8348170: Unnecessary Hashtable usage in CSS.styleConstantToCssMap Reviewed-by: azvegint, aivanov ------------- PR: https://git.openjdk.org/jdk/pull/23149