RFR: 8367376: Bad ButtonUI prevents other components from updating when system changes desktop properties [v3]
Jeremy Wood
jwood at openjdk.org
Wed Sep 17 20:38:36 UTC 2025
> 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 two additional commits since the last revision:
- Update test/jdk/com/sun/java/swing/plaf/Test8367376.java
Co-authored-by: Alexey Ivanov <alexey.ivanov at oracle.com>
- Update test/jdk/com/sun/java/swing/plaf/Test8367376.java
Co-authored-by: Alexey Ivanov <alexey.ivanov at oracle.com>
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/27205/files
- new: https://git.openjdk.org/jdk/pull/27205/files/33937331..fef2241e
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=27205&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=27205&range=01-02
Stats: 9 lines in 1 file changed: 1 ins; 0 del; 8 mod
Patch: https://git.openjdk.org/jdk/pull/27205.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27205/head:pull/27205
PR: https://git.openjdk.org/jdk/pull/27205
More information about the client-libs-dev
mailing list