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

java/awt/Focus/ActualFocusedWindowTest/ActualFocusedWindowRetaining.java fails

XMLWordPrintable

    • x86
    • linux_redhat_5.0, os_x

      Testsuite name: regression j2se
      test: java/awt/Focus/ActualFocusedWindowTest/ActualFocusedWindowRetaining.java
      JDK/JRE tested: jdk 7 b106
      OS/architecture: rhel5-x64
      Reproducible: Always
      Reproducible on machine: stt-57.russia
      Is it a platform specific regression: N
      Is it a Regression: N

      Test run log location:
      [stt-robot@stt-57]$ cat cur/work/java/awt/Focus/ActualFocusedWindowTest/ActualFocusedWindowRetaining.jtr
      #Test Results (version 2)
      #Tue Aug 24 20:57:15 MSD 2010
      #checksum:7730bc3546643c9f
      #-----testdescription-----
      $file=/net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/java/awt/Focus/ActualFocusedWindowTest/ActualFocusedWindowRetaining.java
      $root=/net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test
      author=Anton.Tarasov: area=awt.focus
      keywords=bug4823903
      library=../../regtesthelpers
      run=USER_SPECIFIED build Util\nUSER_SPECIFIED main ActualFocusedWindowRetaining\n
      source=ActualFocusedWindowRetaining.java
      title=Tests actual focused window retaining.

      #-----environment-----

      #-----testresult-----
      description=file:///net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/java/awt/Focus/ActualFocusedWindowTest/ActualFocusedWindowRetaining.java
      end=Tue Aug 24 20:57:15 MSD 2010
      environment=regtest
      execStatus=Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Step 8: Test failed: actual focused window didn't get a focus
      javatestOS=Linux 2.6.18-194.el5 (i386)
      javatestVersion=3.2.2_03
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile build main
      start=Tue Aug 24 20:56:55 MSD 2010
      test=java/awt/Focus/ActualFocusedWindowTest/ActualFocusedWindowRetaining.java
      work=/export/JQA/regression/cur/work/java/awt/Focus/ActualFocusedWindowTest

      #section:script_messages
      ----------messages:(4/186)----------
      JDK under test: (/export/jdk/jdk1.7.0b106)
      java version "1.7.0-ea"
      Java(TM) SE Runtime Environment (build 1.7.0-ea-b106)
      Java HotSpot(TM) Client VM (build 19.0-b05, mixed mode, sharing)

      #section:build
      ----------messages:(3/97)----------
      command: build Util
      reason: User specified action: run build Util
      elapsed time (seconds): 1.019
      result: Passed. Build successful

      #section:compile
      ----------messages:(3/246)----------
      command: compile /net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/java/awt/Focus/ActualFocusedWindowTest/../../regtesthelpers/Util.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.999
      ----------System.out:(0/0)----------
      ----------System.err:(17/1769)----------
      /net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/java/awt/Focus/ActualFocusedWindowTest/../../regtesthelpers/Util.java:65: warning: FramePeer is internal proprietary API and may be removed in a future release
      import java.awt.peer.FramePeer;
                          ^
      /net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/java/awt/Focus/ActualFocusedWindowTest/../../regtesthelpers/Util.java:96: warning: FramePeer is internal proprietary API and may be removed in a future release
              FramePeer frame_peer = (FramePeer) embedder.getPeer();
              ^
      /net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/java/awt/Focus/ActualFocusedWindowTest/../../regtesthelpers/Util.java:96: warning: FramePeer is internal proprietary API and may be removed in a future release
              FramePeer frame_peer = (FramePeer) embedder.getPeer();
                                      ^
      /net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/java/awt/Focus/ActualFocusedWindowTest/../../regtesthelpers/Util.java:184: warning: SunToolkit is internal proprietary API and may be removed in a future release
              ((sun.awt.SunToolkit)Toolkit.getDefaultToolkit()).realSync();
                       ^
      Note: /net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/java/awt/Focus/ActualFocusedWindowTest/../../regtesthelpers/Util.java uses or overrides a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.
      Note: /net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/java/awt/Focus/ActualFocusedWindowTest/../../regtesthelpers/Util.java uses unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      4 warnings
      result: Passed. Compilation successful

      #section:build
      ----------messages:(3/111)----------
      command: build ActualFocusedWindowRetaining
      reason: Named class compiled on demand
      elapsed time (seconds): 0.0
      result: Passed. All files up to date

      #section:main
      ----------messages:(3/144)----------
      command: main ActualFocusedWindowRetaining
      reason: User specified action: run main ActualFocusedWindowRetaining
      elapsed time (seconds): 17.942
      ----------System.out:(161/22468)----------
      WINDOW_OPENED,opposite=null,oldState=0,newState=0 on <Other Frame>
      WINDOW_ACTIVATED,opposite=null,oldState=0,newState=0 on <Other Frame>
      WINDOW_GAINED_FOCUS,opposite=null,oldState=0,newState=0 on <Other Frame>
      FOCUS_GAINED,permanent,opposite=null on <Other Frame>
      ...
      INDOW_DEACTIVATED,opposite=java.awt.Frame[frame1,800,100,400x100,invalid,layout=java.awt.FlowLayout,title=Test Frame,resizable,normal],oldState=0,newState=0 on <Other Frame>
      WINDOW_ACTIVATED,opposite=java.awt.Frame[frame0,800,400,400x100,layout=java.awt.BorderLayout,title=Other Frame,resizable,normal],oldState=0,newState=0 on <Test Frame>
      WINDOW_GAINED_FOCUS,opposite=java.awt.Frame[frame0,800,400,400x100,layout=java.awt.BorderLayout,title=Other Frame,resizable,normal],oldState=0,newState=0 on <Window 1>
      WINDOW_LOST_FOCUS,opposite=java.awt.Frame[frame1,800,100,400x100,invalid,layout=java.awt.FlowLayout,title=Test Frame,resizable,normal],oldState=0,newState=0 on <Window 1>
      WINDOW_GAINED_FOCUS,opposite=TestWindow[win0,800,200,204x33,layout=java.awt.FlowLayout],oldState=0,newState=0 on <Test Frame>
      FOCUS_GAINED,permanent,opposite=java.awt.Frame[frame0,800,400,400x100,layout=java.awt.BorderLayout,title=Other Frame,resizable,normal] on <Test Button 1>
      ----------System.err:(17/1200)----------
      java.lang.RuntimeException: Step 8: Test failed: actual focused window didn't get a focus
      at ActualFocusedWindowRetaining.stopTest(ActualFocusedWindowRetaining.java:196)
      at ActualFocusedWindowRetaining.clickOwnerCheckFocus(ActualFocusedWindowRetaining.java:160)
      at ActualFocusedWindowRetaining.test(ActualFocusedWindowRetaining.java:144)
      at ActualFocusedWindowRetaining.start(ActualFocusedWindowRetaining.java:105)
      at ActualFocusedWindowRetaining.main(ActualFocusedWindowRetaining.java:57)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:613)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:96)
      at java.lang.Thread.run(Thread.java:717)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Step 8: Test failed: actual focused window didn't get a focus
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Step 8: Test failed: actual focused window didn't get a focus
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Step 8: Test failed: actual focused window didn't get a focus


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Step 8: Test failed: actual focused window didn't get a focus

      Steps to reproduce:

      [stt-robot@stt-57]$ /export/jdk/jdk1.7.0b106/bin/java ActualFocusedWindowRetaining
      WINDOW_OPENED,opposite=null,oldState=0,newState=0 on <Other Frame>
      WINDOW_ACTIVATED,opposite=null,oldState=0,newState=0 on <Other Frame>
      WINDOW_GAINED_FOCUS,opposite=null,oldState=0,newState=0 on <Other Frame>
      FOCUS_GAINED,permanent,opposite=null on <Other Frame>
      WINDOW_OPENED,opposite=null,oldState=0,newState=0 on <Test Frame>
      FOCUS_LOST,temporary,opposite=java.awt.Button[button0,103,29,91x23,label=Test Button 1] on <Other Frame>
      WINDOW_LOST_FOCUS,opposite=java.awt.Frame[frame1,800,100,400x100,layout=java.awt.FlowLayout,title=Test Frame,resizable,normal],oldState=0,newState=0 on <Other Frame>
      WINDOW_DEACTIVATED,opposite=java.awt.Frame[frame1,800,100,400x100,layout=java.awt.FlowLayout,title=Test Frame,resizable,normal],oldState=0,newState=0 on <Other Frame>
      WINDOW_ACTIVATED,opposite=java.awt.Frame[frame0,800,400,400x100,layout=java.awt.BorderLayout,title=Other Frame,resizable,normal],oldState=0,newState=0 on <Test Frame>
      WINDOW_GAINED_FOCUS,opposite=java.awt.Frame[frame0,800,400,400x100,layout=java.awt.BorderLayout,title=Other Frame,resizable,normal],oldState=0,newState=0 on <Test Frame>
      WINDOW_LOST_FOCUS,opposite=java.awt.Frame[frame0,800,400,400x100,layout=java.awt.BorderLayout,title=Other Frame,resizable,normal],oldState=0,newState=0 on <Test Frame>
      WINDOW_DEACTIVATED,opposite=java.awt.Frame[frame0,800,400,400x100,layout=java.awt.BorderLayout,title=Other Frame,resizable,normal],oldState=0,newState=0 on <Test Frame>
      WINDOW_ACTIVATED,opposite=java.awt.Frame[frame1,800,100,400x100,layout=java.awt.FlowLayout,title=Test Frame,resizable,normal],oldState=0,newState=0 on <Other Frame>
      WINDOW_GAINED_FOCUS,opposite=java.awt.Frame[frame1,800,100,400x100,layout=java.awt.FlowLayout,title=Test Frame,resizable,normal],oldState=0,newState=0 on <Other Frame>
      FOCUS_GAINED,permanent,opposite=java.awt.Frame[frame0,800,400,400x100,layout=java.awt.BorderLayout,title=Other Frame,resizable,normal] on <Other Frame>
      WINDOW_OPENED,opposite=null,oldState=0,newState=0 on <Window 1>
      WINDOW_OPENED,opposite=null,oldState=0,newState=0 on <Window 2>
      FOCUS_LOST,temporary,opposite=java.awt.Button[button1,5,5,91x23,label=Test Button 3] on <Other Frame>
      .....
      WINDOW_GAINED_FOCUS,opposite=TestWindow[win0,800,200,204x33,layout=java.awt.FlowLayout],oldState=0,newState=0 on <Test Frame>
      FOCUS_GAINED,permanent,opposite=java.awt.Button[button2,5,5,91x23,label=Test Button 2] on <Test Button 1>
      Exception in thread "main" java.lang.RuntimeException: Step 6: Test failed: actual focused window didn't get a focus
      at ActualFocusedWindowRetaining.stopTest(ActualFocusedWindowRetaining.java:195)
      at ActualFocusedWindowRetaining.clickOwnerCheckFocus(ActualFocusedWindowRetaining.java:159)
      at ActualFocusedWindowRetaining.test(ActualFocusedWindowRetaining.java:131)
      at ActualFocusedWindowRetaining.start(ActualFocusedWindowRetaining.java:104)
      at ActualFocusedWindowRetaining.main(ActualFocusedWindowRetaining.java:56)

            dav Andrei Dmitriev (Inactive)
            ikobzaresunw Ivan Kobzarev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: