The check mark had been transformed with default scale which is 1.0 and the same is used on click of checkbox. This was done while computing the layout and not updated while paint. Hence the scaling update is done on painting the check mark and CI testing is green after the update too.
------------- Commit messages: - Removed whitespace - Fix + Automated test Changes: https://git.openjdk.org/jdk/pull/20441/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20441&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8233068 Stats: 104 lines in 2 files changed: 102 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/20441.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/20441/head:pull/20441 PR: https://git.openjdk.org/jdk/pull/20441