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

Jeremy Wood jwood at openjdk.org
Wed Oct 8 05:47:33 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:

 - 8367376: adding @key headful
   
   This is in response to the second point here:
   https://github.com/openjdk/jdk/pull/27205#discussion_r2412548662
 - 8367376: adding Frame.dispose() in try/finally
   
   This is in response to the first point here:
   https://github.com/openjdk/jdk/pull/27205#discussion_r2412548662

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27205/files
  - new: https://git.openjdk.org/jdk/pull/27205/files/d93815c9..39d4ad96

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27205&range=07
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27205&range=06-07

  Stats: 29 lines in 1 file changed: 10 ins; 0 del; 19 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