JDK-8198339 : Test javax/swing/border/Test6981576.java is unstable
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 9,10,11
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2018-02-18
  • Updated: 2021-03-01
  • Resolved: 2018-11-30
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 12 JDK 8
11.0.8-oracleFixed 12 b23Fixed 8u291Fixed
Description
he reason of instability was an intermittent HeadlessException in the headless mode.
But in most cases the test passed, because the test code was not executed on EDT.
The root issues was the usage of sequence of invokeLater().

Comments
Fix request (11u) I would like to downport this for parity with 11.0.8-oracle. Applies clean except for trivial ProblemList resolve.
28-02-2020

TO: Assignee. Is it an issue introduced in JDK 11? Please check on 10, 9, 8 and update Affects Version accordingly.
07-06-2018

It fails 1 time in 100 executions. result: Failed. Unexpected exit from test [exit code: 1]
18-02-2018