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

Roland Mesde duke at openjdk.org
Mon Feb 23 19:42:56 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. Already backported to 25.

Ran related tests on linux-x64, linux-aarch64, 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/jdk21u-dev/pull/2630/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=2630&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/jdk21u-dev/pull/2630.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/2630/head:pull/2630

PR: https://git.openjdk.org/jdk21u-dev/pull/2630


More information about the jdk-updates-dev mailing list