JDK-8371377 : javax/swing/text/GlyphView/TestGlyphBGHeight.java fails in Ubuntu 24.04 X11
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 26
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux_ubuntu
  • CPU: x86
  • Submitted: 2025-11-05
  • Updated: 2025-12-15
  • Resolved: 2025-11-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 26
26 b24Fixed
Related Reports
Causes :  
Description
javax/swing/text/GlyphView/TestGlyphBGHeight.java was added in JDK 26 b22 via https://bugs.openjdk.org/browse/JDK-8017266 and the test fails in Ubuntu 24.04 X11 

----------System.out:(1/9)----------
ffffff00
----------System.err:(11/732)----------
java.lang.RuntimeException:  Background is painted taller than needed for styled text
	at TestGlyphBGHeight.main(TestGlyphBGHeight.java:97)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/java.lang.reflect.Method.invoke(Method.java:565)
	at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
	at java.base/java.lang.Thread.run(Thread.java:1474)
Comments
Changeset: ebd1c038 Branch: master Author: Prasanta Sadhukhan <psadhukhan@openjdk.org> Date: 2025-11-09 07:22:45 +0000 URL: https://git.openjdk.org/jdk/commit/ebd1c03829c354007a4ca9971be313d19eac2373
09-11-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/28173 Date: 2025-11-06 07:37:49 +0000
06-11-2025