JDK-8368892 : Make JEditorPane/TestBrowserBGColor.java headless
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 13
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-09-29
  • Updated: 2025-10-24
  • Resolved: 2025-10-07
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 b19Fixed
Related Reports
Causes :  
Description
The test javax/swing/JEditorPane/TestBrowserBGColor.java creates a frame with JEditorPane and uses Robot to check the pixel color on the screen. This can be simplified to verifying the background color of the body element, which doesn't need displaying the component on the screen.
Comments
Changeset: 6bec42ad Branch: master Author: Alexey Ivanov <aivanov@openjdk.org> Date: 2025-10-07 10:21:33 +0000 URL: https://git.openjdk.org/jdk/commit/6bec42adcc1d99e16ddd5148bb4012c74a0c3090
07-10-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/27556 Date: 2025-09-29 20:16:50 +0000
29-09-2025