JDK-6669302 : JCK 6a test api/java_awt/interactive/WindowTest.html#WindowTest[WindowTest0001] fails on Ubuntu
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: OpenJDK6
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux_ubuntu
  • CPU: generic
  • Submitted: 2008-02-28
  • Updated: 2012-03-22
  • Resolved: 2008-03-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.
Other
OpenJDK6Resolved
Related Reports
Duplicate :  
Relates :  
Description
JDK: openJDK6 b03 
JCK: JCK6a + alt01
Platform: Ubuntu Linux

The following JCK 6a test fails:
api/java_awt/interactive/WindowTest.html#WindowTest[WindowTest0001] 

The .jtr file for this failure is attached to this CR.

The script below can be used to run this test.

===============================
#!/bin/sh
######### api/java_awt/interactive/WindowTest.html#WindowTest

cd `dirname $0`
TCK_HOME=/java/re/jck/6.0a/promoted/latest/binaries/JCK-runtime-6a
#TCK_HOME=${TCK_HOME:-`cd ../../../..; pwd`}

JAVA_HOME=/java/re/openjdk/6/promoted/ea/b04/openjdk/binaries/linux-i586

$JAVA_HOME/bin/java -cp $TCK_HOME/lib/javatest.jar:$TCK_HOME/classes javasoft.sqe.tests.api.java.awt.interactive.WindowTest -TestCaseID ALL -TestDirURL file://$TCK_HOME/tests/api/java_awt/interactive/WindowTest.html#WindowTest
===============================

This test fails with and without the -Xfuture flag on openJDK6.

Comments
EVALUATION The bug seems to be a duplicate of 6514512, which in turn is considered as 'Not a Defect'. Please refer to the Evaluation of 6514512 for more details.
21-03-2008

EVALUATION The mentioned JCK test passes with JDK7 b19, but it fails with b20 and upwards. Since the fix for 6380835 has been integrated into b03, these CRs should not be tightly related. However, examining the list of fixes integrated in b20 reveals nothing related to the toFront()/toBack() AWT code. Which means that most probably the issue is related to timings changes.
21-03-2008

EVALUATION Window.toFront() and Window.toBack() methods don't work for instances of java.awt.Window (not Frame or Dialog) in at least JDK7-b21 and OpenJDK6. Most probably, this is caused by the fix for 6380835 after which override_redirect attribute for Window is no longer used.
07-03-2008