RFR: 8292280: Unused field 'keyListener' in BasicRadioButtonUI

Phil Race prr at openjdk.org
Sun Aug 21 21:31:30 UTC 2022


On Thu, 11 Aug 2022 06:53:16 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

> Field `keyListener` was added under [JDK-8033699](https://bugs.openjdk.org/browse/JDK-8033699). But then all its usages were removed in [JDK-8249548](https://bugs.openjdk.org/browse/JDK-8249548)

src/java.desktop/share/classes/javax/swing/plaf/basic/BasicRadioButtonUI.java line 148:

> 146: 
> 147:         Icon altIcon = b.getIcon();
> 148: 

So what's this about ?

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

PR: https://git.openjdk.org/jdk/pull/9832



More information about the client-libs-dev mailing list