On Mon, 22 Sep 2025 17:02:26 GMT, Jeremy Wood <[email protected]> wrote:
>> test/jdk/com/sun/java/swing/plaf/DesktopPropertyResetPendingFlagTest.java
>> line 71:
>>
>>> 69: try {
>>> 70: String lf = UIManager.getSystemLookAndFeelClassName();
>>> 71: UIManager.setLookAndFeel(lf);
>>
>> Guess we should iterate for all L&F s, not just test the default..
>
> I went the opposite direction for now: I removed any reference to the L&F.
> This test is structured so it emulates what the Windows L&F was doing, but
> it's platform/L&F-independent (for the sake of full automation).
>
> I tested on Mac and Windows and confirmed the test still fails against
> master, and it passes in this PR.
If you do not want to tinker with the current test, maybe you can have another
test testing the L&F s, handling exception gracefully in updateUI
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27205#discussion_r2381235377