RFR: 8308588: Unnecessary synchronized on GTKStyle#ICONS_MAP can be removed [v2]

Abhishek Kumar abhiscxk at openjdk.org
Mon Sep 2 04:35:19 UTC 2024


On Fri, 30 Aug 2024 15:14:06 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

> It's possible to use `Map.of` if you put the condition as a conditional operator to each value. Yet it would make the intention less clear.

Yeah that can be done but current implementation look ok to me as well.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/20741#issuecomment-2323794361


More information about the client-libs-dev mailing list