JDK-8198612 : Headful closed tests should not be run in headless mode
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 11
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2018-02-23
  • Updated: 2020-10-12
  • Resolved: 2018-02-27
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 11 JDK 8
11 b04Fixed 8u270Fixed
Description
headful tag should be added to the tests which cannot be run in headless mode.

Command line to check:
jtreg/bin/jtreg -conc:auto -k:'!headful' -vmoptions:"-Djava.awt.headless=true" -a -verbose -jdk:./build/macosx-x64/images/jdk closed/test/jdk/:jdk_desktop