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

JCK1.4, interactive: api/javax_swing/interactive/JWindowTests.html#JWindow, Linu

XMLWordPrintable

    • beta3
    • x86, sparc
    • generic, linux, solaris_7
    • Verified



      Name: asR10013 Date: 08/23/2001


      JDK : JDK1.4.0-beta-b77
      JCK : JCK1.4-b08
      Platform[s] : RedHat Linux 7.1, GNOME/Sawfish
      switch/Mode : -client -Xmixed -Xfuture
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Failing Test : api/javax_swing/interactive/JWindowTests.html#JWindow [JWindowTest0002]

      The test verifies behavior of JWindow with text field inside owned by JFrame.

      The problem is that when JWindow's text field receives focus via mouse click, any key typed is repeated
      twice.

      However under some window managers which provide "task bar" and show every window on it
      (e.g. GNOME/Sawfish, but not KDE) if JWindow is activated via click on the task bar (but not via click
      on the text field or JWindow itself) the test behaves correctly.


      Test source location:
      =====================
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/javax_swing/interactive/JWindowTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail15/results/merlin/b76/jck14/linux/redhat7.1_smp_gnome_client_linux-24/workDir/api/javax_swing/interactive/JWindowTests_JWindow.jtr

      How to reproduce:
      ====================
      1. Run the following script under Linux OS (probably, you need to change JCK and JAVA_HOME paths)
      2. Press "Show window" button to display JWindow
      3. Click in the text field inside the text field
      4. Type any char
      You will see that the char is repeated twice in the text field.


      --------Script START---------------------
      #!/bin/sh
      JAVA_HOME=/net/jdk/export/disk8/local.java/jdk1.4/linux-i386
      JCK=/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14
      export CLASSPATH="$JCK/classes:$JCK/javatest.jar"
      executeClass="javasoft.sqe.tests.api.javax.swing.interactive.JWindow.JWindowTests -TestCaseID JWindowTest0002"
      $JAVA_HOME/bin/java -Xfuture ${executeClass}
      ---------Script END----------------------

      Test output:
      =============
      JWindowTest0002: Failed. JWindow(Frame owner) does not behave as expected.
      STATUS:Failed.tests: 1; failed: 1; first test case failure: JWindowTest0002

      Specific Machine Info:
      =====================
      Hostname: linux-24
      OS: RedHat Linux 7.1, GNOME/Sawfish


      ======================================================================

      api/javax_swing/interactive/JWindowTests.html#JWindow [JWindowTest0002, JWindowTest0003]
      The 2 subtests fails on sparc and intel on b77 with JCK14-b08.

      ###@###.### 2001-08-23

            dmikhalksunw Denis Mikhalkin (Inactive)
            alssunw Als Als (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: