RFR: 8358813: remove more bindings for JPasswordFields in Aqua

Andrey Turbanov aturbanov at openjdk.org
Fri Jun 27 22:38:13 UTC 2025


On Mon, 9 Jun 2025 02:36:44 GMT, Jeremy Wood <duke at openjdk.org> wrote:

> There were a few action bindings available in JPasswordFields in Aqua that let you identify the boundaries of words.
> 
> This came to my attention while looking at the related work https://github.com/openjdk/jdk/pull/25443 . In that PR we said we should iterate across all available L&Fs, so this PR copies that same approach. (The original complaint only focused on Aqua, though.)

test/jdk/javax/swing/JPasswordField/PasswordFieldInputMapWordTest.java line 59:

> 57:             UIManager.setLookAndFeel(laf.getClassName());
> 58:             return true;
> 59:         } catch (UnsupportedLookAndFeelException  e) {

Suggestion:

        } catch (UnsupportedLookAndFeelException e) {

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25688#discussion_r2141039241


More information about the client-libs-dev mailing list