RFR: 8367376: Bad ButtonUI prevents other components from updating when system changes desktop properties [v9]

duke duke at openjdk.org
Wed Oct 8 16:56:32 UTC 2025


On Wed, 8 Oct 2025 16:34:28 GMT, Jeremy Wood <jwood at openjdk.org> wrote:

>> Previously:
>> 
>> If DesktopProperty#updateAllUIs threw an exception, we would never reset the update-pending property to false. This means any subsequent call to `updateUI()` would not attempt to call `updateAllUIs()`
>> 
>> With this change:
>> Subsequent calls to DesktopProperty#updateUI() can still trigger at least one call to updateAllUIs().
>
> Jeremy Wood has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update test/jdk/com/sun/java/swing/plaf/DesktopPropertyResetPendingFlagTest.java
>   
>   Co-authored-by: Alexey Ivanov <alexey.ivanov at oracle.com>

@mickleness 
Your change (at version aa565ef333e1a0280d65e48aa99280fba7ccef3a) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/27205#issuecomment-3382442158


More information about the client-libs-dev mailing list