JDK-8185500 : [TESTBUG] Add keywords headful/printer in java/awt and javax tests.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 10
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-07-28
  • Updated: 2024-07-09
  • Resolved: 2017-08-14
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 10 JDK 8
10 b20Fixed 8u271Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
I identified another group of tests that fail in headless environments. Mark all these as headful.

Also, there are printer tests that throw PrinterExcpetion. Mark these with the newly introduced keyword 'printer'.

Some tests threw NullPointerException in the finalizer if they are started in a headless environment. Add check for null so that the real test error is shown.

Test bug7123767.java didn't specify the @key properly, there may only be one @key statement listing all keywords separated by spaces.

Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk8u-dev/pull/464 Date: 2024-03-04 02:36:32 +0000
09-07-2024

[jdk8u-fix-request] Approval Request from yaqsun add '@key headful' and add '@requires (os.family == "windows")' somewhere.
04-07-2024

Fix Request (8u). Review threads: https://mail.openjdk.java.net/pipermail/jdk8u-dev/2020-September/012611.html https://mail.openjdk.java.net/pipermail/jdk8u-dev/2020-November/013061.html
25-11-2020

URL: http://hg.openjdk.java.net/jdk10/jdk10/jdk/rev/b762aafa34e3 User: goetz Date: 2017-08-14 14:46:20 +0000
14-08-2017