RFR: 8367376: Bad ButtonUI prevents other components from updating when system changes desktop properties [v6]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Wed Oct 8 05:35:03 UTC 2025
On Tue, 7 Oct 2025 17:25:14 GMT, Jeremy Wood <jwood at openjdk.org> wrote:
>> test/jdk/com/sun/java/swing/plaf/DesktopPropertyResetPendingFlagTest.java line 92:
>>
>>> 90: Toolkit.getDefaultToolkit().getSystemEventQueue().push(newEventQueue);
>>> 91:
>>> 92: for (UIManager.LookAndFeelInfo info :
>>
>> UIManager import is missing
>
> Thanks; this is updated.
you can also dispose of the frame in try-finally block to be safe and consistent with headful regression tests
and you need to add @key headful to the jtreg tag
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27205#discussion_r2412548662
More information about the client-libs-dev
mailing list