Button.focusInputMap, CheckBox.focusInputMap, RadioButton.focusInputMap and ToggleButton.focusInputMap are all defined to the same contents, they could reference a shared value instead of each one creating a new InputMap to save memory CI testing is ok..
------------- Commit messages: - 4696824: In MetalLookAndFeel Button.focusInputMap, CheckBox.focusInputMap ... are same Changes: https://git.openjdk.org/jdk/pull/30391/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30391&range=00 Issue: https://bugs.openjdk.org/browse/JDK-4696824 Stats: 26 lines in 1 file changed: 7 ins; 13 del; 6 mod Patch: https://git.openjdk.org/jdk/pull/30391.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30391/head:pull/30391 PR: https://git.openjdk.org/jdk/pull/30391
