RFR: 8373946: Synth ProgressBarUI implementation confuses background painting with border painting [v2]

Prasanta Sadhukhan psadhukhan at openjdk.org
Fri Dec 19 01:36:41 UTC 2025


> [JDK-8224261](https://bugs.openjdk.org/browse/JDK-8224261) fix controls background painting by checking if border is painted or not. This is wrong as background should always be painted else background will not be painted if border is not there
> JProgressBar.setBorderPainted spec says " Some look and feels might not implement painted borders; they will ignore this property." so not painting border is ok but not painting background is an issue
> 
> The JDK-8224261 is hereby backed out

Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:

  Test rename fix

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28885/files
  - new: https://git.openjdk.org/jdk/pull/28885/files/96fb13ad..a85d579d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=28885&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=28885&range=00-01

  Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/28885.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28885/head:pull/28885

PR: https://git.openjdk.org/jdk/pull/28885


More information about the client-libs-dev mailing list