JDK-7129800 : [macosx] Regression test OverrideRedirectWindowActivationTest fails due to timing issue
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86
  • Submitted: 2012-01-13
  • Updated: 2013-12-17
  • Resolved: 2012-08-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 7 JDK 8
7u21Fixed 8Fixed
Description
This test fails on Mac circa b224 presumably due to unlucky timing. Just add some delay before the first clickOn() to allow rendering to finish and test will consistently pass.

Comments
EVALUATION http://hg.openjdk.java.net/hsx/hotspot-comp/jdk/rev/8a5a71e853ed
14-08-2012

EVALUATION [SQE] Risk: low To test the fix run the test/java/awt/Focus/OverrideRedirectWindowActivationTest/OverrideRedirectWindowActivationTest.java test. Note that the test was moved into the open repository. [SQE]
06-08-2012

EVALUATION changeset: http://hg.openjdk.java.net/jdk7u/jdk7u-dev/jdk/rev/66ee1ee981c2
06-08-2012

EVALUATION The test fails because there is no a delay between window initialization and and clicking on it by robot.
17-07-2012