JDK-6223229 : JCK1.5: api/javax_swing/interactive/JDialog/JDialogTests JDialogTest0010 fails, mustang
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2005-01-29
  • Updated: 2012-03-23
  • Resolved: 2005-07-21
Related Reports
Duplicate :  
Description
JCK	       : jck1.5a 
J2SE	       : FAIL - mustang b15
                 PASS - mustang b14
Platform[s]    : FAIL - Windows
switch/Mode    : FAIL - default

JCK test owner : http://javaweb.sfbay/jcce/tcks/jck/docs/others/owners.jto

Failing Tests:
===============
* api/javax_swing/interactive/JDialog/JDialogTests 
JDialogTest0010: JDialog setLocationRelativeTo(component c) test

Test source location:
=====================
/net/jtgb4u4c/export/sail1/testarea/jck1.5a/JCK-runtime-15a/tests/api/javax_swing/interactive/JDialogTests.java

jtr file location:
==================
attached

How to reproduce:
====================
1. Use below script to start test.  
2. Go to JDialogTest0010 test.
3. Click on the "Show Dialog" button
4. Move the reference frame to lower left (or center or right) corner of the screen
5. Click on the "Show Dialog" button again
-------script START---------------------
#!/bin/sh
#Paths in Java Software:
JDK="c:/jdk/b20/windows-i586/jdk1.6.0"
#JCK="/net/cady/export/dtf/unified/knight-ws/suites/jck/jck1.5a/JCK-runtime-15a"
JCK="y:/dtf/unified/knight-ws/suites/jck/jck1.5a/JCK-runtime-15a"
CLASSPATH="$JCK/classes;$JCK/lib/javatest.jar"
POLICYFILE="-Djava.security.policy=$JCK/lib/jck.policy"

# JDialogTest0010: Failed.
TEST="javasoft.sqe.tests.api.javax.swing.interactive.JDialog.JDialogTests -TestCaseID ALL"

echo `cat $JCK/build.txt | grep JCK_VERSION` `cat $JCK/build.txt | grep JCK_BUILD`

$JDK/bin/java -showversion -cp $CLASSPATH $POLICYFILE $TEST
--------script END----------------------

Test output:
=============
When the Location Reference frame is moved below the half of screen, then the dialog flickers and eventually does not show over the reference frame.  Attached screen shot.

Specific Machine Info:
=====================
$ anticline windows 2000 5.00.2195 sp4
pentium 4 256MB RAM

###@###.### 2005-2-02 01:33:49 GMT

Comments
EVALUATION Most possibly a duplicate of 6200789. We couldn't reproduce this failure with local workspace. And we are going to deliver this fix in Mustang b23. ###@###.### 2005-2-01 12:33:12 GMT The fix for 6200789 was integrated into Mustang b24. This bug should be verified for reproducibility in that build and in the latest Mustang builds. ###@###.### 2005-07-06 09:13:08 GMT
29-01-2005