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

Alexey Ivanov aivanov at openjdk.org
Fri Sep 19 19:08:14 UTC 2025


On Wed, 17 Sep 2025 20:45:38 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 three additional commits since the last revision:
> 
>  - 8367376: rename test file
>    
>    This is in response to:
>    https://github.com/openjdk/jdk/pull/27205#discussion_r2356674752
>  - 8367376: add new line to end of file
>    
>    This is in response to:
>    https://github.com/openjdk/jdk/pull/27205#discussion_r2356666306
>  - 8367376: changing field names
>    
>    This is in response to:
>    https://github.com/openjdk/jdk/pull/27205#discussion_r2356664929

Marked as reviewed by aivanov (Reviewer).

Other L&F have the same problem, so it would be good to resolve it and update the test to iterate over all installed L&Fs.

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

PR Review: https://git.openjdk.org/jdk/pull/27205#pullrequestreview-3246594604
Changes requested by aivanov (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/27205#pullrequestreview-3246609936


More information about the client-libs-dev mailing list