JDK-8030104 : 10 testcases in java/beans/PropertyEditor fail in headless mode
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.beans
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2013-12-13
  • Updated: 2020-02-13
  • Resolved: 2020-02-13
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.
Other
tbdResolved
Related Reports
Duplicate :  
Relates :  
Description
10 testcases in java/beans/PropertyEditor fail in headless mode. 

FAILED: java/beans/PropertyEditor/6380849/TestPropertyEditor.java
FAILED: java/beans/PropertyEditor/TestColorClass.java
FAILED: java/beans/PropertyEditor/TestColorClassJava.java
FAILED: java/beans/PropertyEditor/TestColorClassNull.java
FAILED: java/beans/PropertyEditor/TestColorClassValue.java
FAILED: java/beans/PropertyEditor/TestFontClassJava.java
FAILED: java/beans/PropertyEditor/TestFontClass.java
FAILED: java/beans/PropertyEditor/TestFontClassNull.java
FAILED: java/beans/PropertyEditor/TestFontClassValue.java
FAILED: java/beans/XMLEncoder/java_awt_ScrollPane.java

No difference in agentvm and othervm modes. These 10 testcases pass when
headless option is removed.




Comments
these tests were marked by the headful tag in JDK-8081547
13-02-2020

These tests use AWT classes, which are not accessible in headless mode. We need to investigate how to workaround this issue.
13-12-2013

Technically this is not a bug, it's really just a request to see if these tests could be changed to pass when headless. There are a lot of beans tests and almost all can run when headless, it's just this tiny few that can't.
13-12-2013