[jdk25u-dev] RFR: 8335646: Nimbus : JLabel not painted with LAF defined foreground color on Ubuntu 24.04

Roland Mesde duke at openjdk.org
Wed Feb 11 18:20:35 UTC 2026


Backporting JDK-8335646: Nimbus : JLabel not painted with LAF defined foreground color on Ubuntu 24.04.

This PR standardizes to the font across platforms to a full block unicode character text optimized for easier red pixel detection. Test now passes on all platforms including Ubuntu 24.04..

For parity with Oracle JDK.

Ran related tests on linux-x64 (Ubuntu 24.04), linux-aarch64 (Ubuntu 24.04), macos-aarch64 and windows-x64:

make test TEST=test/jdk/javax/swing/plaf/basic/BasicHTML/bug4248210.java

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

Commit messages:
 - Backport 650fd35b3b30bf16e8caad968bd335d423c87b7d

Changes: https://git.openjdk.org/jdk25u-dev/pull/254/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=254&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8335646
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk25u-dev/pull/254.diff
  Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/254/head:pull/254

PR: https://git.openjdk.org/jdk25u-dev/pull/254


More information about the jdk-updates-dev mailing list