JDK-8063107 : Change open swing regression tests to avoid sun.awt.SunToolkit.realSync, part 2
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-11-06
  • Updated: 2024-09-20
  • Resolved: 2014-11-21
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 9 Other
9 b44Fixed openjdk8u282Fixed
Related Reports
Cloners :  
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
Here we should remove references to the internal classes wherever possible. A first batch of the tests is, rather arbitrarily, the tests using realSync creating a Robot (thus, interactive). 
Test count is approximately between 95 and 116. We intend to move some tests to the open. 
Some tests, however, cannot be moved from closed area, and some are exceptions where internal calls are necessary.
Comments
8u backport removed changes to test/javax/swing/JRadioButton/8041561/bug8041561.java, since that test was part of JDK-8041561, which has not been approved for 8u backport. If it eventually is, then the changes will have to be part of its backport.
26-11-2020

Tests pass on 8u, except JComponent/6683775, JInternalFrame/8020708, JInternalFrame/InternalFrameIsNotCollectedTest.java, JList/6462008, JTable/6263446, JTableHeader/6889007, and text/html/HTMLEditorKit/5043626 fail on 8u and pass on 11u. Patch is identical to http://icedtea.classpath.org//hg/icedtea8-forest/jdk?cmd=changeset;node=006ecd93bed6. Review approval: https://mail.openjdk.java.net/pipermail/jdk8u-dev/2020-November/013005.html
17-11-2020

URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/4ef86895869c User: lana Date: 2014-12-23 22:27:55 +0000
23-12-2014

URL: http://hg.openjdk.java.net/jdk9/client/jdk/rev/4ef86895869c User: yan Date: 2014-11-21 13:11:33 +0000
21-11-2014

Review request http://mail.openjdk.java.net/pipermail/swing-dev/2014-November/004029.html (webrevs in http://cr.openjdk.java.net/~yan/8063107) Final test total for this fix is 109.
21-11-2014