<Swing Dev> RFR: 8049301: Suspicious use of string identity checks in JComponent.setUIProperty [v2]

Alexander Zvegintsev azvegint at openjdk.java.net
Fri Jul 30 15:21:32 UTC 2021


On Fri, 30 Jul 2021 10:35:46 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> I am not sure of switch which probably might be a hindrance in backporting if needed to earlier release trains.

You still can use the old switch statement with breaks.

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

PR: https://git.openjdk.java.net/jdk/pull/4943


More information about the swing-dev mailing list