JDK-8063106 : Change open swing regression tests to avoid sun.awt.SunToolkit.realSync, part 1
  • 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-10
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 b42Fixed openjdk8u282Fixed
Related Reports
Cloners :  
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 without creating a Robot (thus, mostly non-interactive). 
Test count is approximately between 32 and 38. 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
Fix Request (8u). Review request: https://mail.openjdk.java.net/pipermail/jdk8u-dev/2020-November/012962.html Tests pass on 8u, except javax/swing/JInternalFrame/6647340 fails on both 8u and 11u. Backport was not clean. test/javax/swing/JPopupMenu/6694823/bug6694823.java, the import of sun.security.util.SecurityConstants rather than sun.awt.AWTPermissions JTabbedPane/8017284 was removed because it does not exist in jdk8u. Review approval: https://mail.openjdk.java.net/pipermail/jdk8u-dev/2020-November/013006.html Patch is identical to http://icedtea.classpath.org//hg/icedtea8-forest/jdk?cmd=changeset;node=ae40e3430a85, except that the icedtea patch creates test/java/awt/security/WarningWindowDisposeTest/policy, which it should not: see JDK-8063102.
17-11-2020

URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/66682f651425 User: lana Date: 2014-12-10 19:55:01 +0000
10-12-2014

URL: http://hg.openjdk.java.net/jdk9/client/jdk/rev/66682f651425 User: yan Date: 2014-11-10 13:38:08 +0000
10-11-2014