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

reg-test : ClickOppositeWindowsTest2.java failing (awt)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P4
    • None
    • 1.3.1_02
    • client-libs
    • sparc
    • solaris_8

    Description


      ###@###.### 2001-10-23

      Focus/src/automated/HeavyWeight/ClickOppositeWindows/ClickOppositeWindowsTest2/ClickOppositeWindowsTest2.java is failing for j2sdk 1.3.1_02 on Solaris 8/sparc
      and Red Hat Linux 6.2.

      Event ordering is not in sequence when changing activation between
      two top level windows ( Click on components in opposite windows
      back and forth.)

      Here is the information of various sequence gone through and Failure
      and exception thrown.

      ----------System.out:(6/588)----------
      INSTRUCTIONS: This is an AUTOMATIC test simply wait until it is done.
      The Active window frame1 has the focus owner java.awt.Button[button0,23,8,49x24,label=Button]
      The Active window frame2 has the focus owner java.awt.Button[button1,23,8,49x24,label=Button]
      The Active window frame1 has the focus owner java.awt.Button[button0,23,8,49x24,label=Button]
      the source for keyevent is: java.awt.TextArea[text0,47,70,95x72,text=,editable,selection=0-0,rows=3,columns=10, scrollbarVisibility=both]
      The Active window frame2 has the focus owner java.awt.Button[button1,23,8,49x24,label=Button]
      ----------System.err:(12/810)----------
      Warning:
          Name: HorScrollBar
          Class: XmScrollBar
          The specified scrollbar value is greater than the maximum
          scrollbar value minus the scrollbar slider size.

      FAILURE: Event ordering is not in sequence as Focuslost -> WindowDeactivated -> WindowActivated -> FocusGained
      java.lang.RuntimeException: TEST FAILED: Event ordering is not in sequence as Focuslost -> WindowDeactivated -> WindowActivated -> FocusGained
              at javasoft.awtsqe.RobotAppletTest.destroy(RobotAppletTest.java:228)
              at com.sun.javatest.regtest.AppletWrapper$AppletThread.run(AppletWrapper.java:168)
              at java.lang.Thread.run(Thread.java:484)
      STATUS:Failed.Applet thread threw exception: java.lang.RuntimeException: TEST FAILED: Event ordering is not in sequence as Focuslost -> WindowDeactivated -> WindowActivated -> FocusGained
      result: Failed. Execution failed: Applet thread threw exception: java.lang.RuntimeException: TEST FAILED: Event ordering is not in sequence as Focuslost -> WindowDeactivated -> WindowActivated -> FocusGained


      test result: Failed. Execution failed: Applet thread threw exception: java.lang.RuntimeException: TEST FAILED: Event ordering is not in sequence as Focuslost -> WindowDeactivated -> WindowActivated -> FocusGained

      --------------------------------------------------------------------------

      Test results are at:
      For Solaris 8/sparc
      http://latte.ireland.sun.com/results/1.3.1_02/Solaris/Sparc/8/awt/new/JTreport/

      For RedHat Linux 6.2
      http://latte.ireland.sun.com/results/1.3.1_02/Linux/rh6.2/awt/JTreport/


      NOTE: I ran this test with "runauto.ksh" script provided with awt test
      suite first and then ran it independently on its own. In both cases
      there was similar results.


      Solaris System : Solaris 8 6/00, sparc Ultra-80
      Linux System : Red hat 6.2 (release 2.2.14-5.0), IBM IntelliStation Pentium III.

      TestSuite Used:
      /net/sqesvr.sfbay/export/cft/suites/lb_master
      and from
      /net/sqesvr/export/cft/suites/ladybird/awt11-2-00/

      Testsuite from above two locations gave same results.




      NOTE: This problem did not occured for Windows 2000.

      Attachments

        Activity

          People

            duke J. Duke
            bvaidya Balchandra Vaidya
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: