Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6223229

JCK1.5: api/javax_swing/interactive/JDialog/JDialogTests JDialogTest0010 fails, mustang

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 6
    • client-libs
    • x86
    • windows_2000

      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

            ant Anton Tarasov (Inactive)
            jsongsunw Joo Song (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: