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

java/awt/Focus/NonFocusableWindowTest/NonfocusableOwnerTest.java fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 7
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      The test fails on linux-i586, Gnome/Compiz 2.24/0.7.8 with the current JDK 7 (~ b59):

      ----------System.out:(82/9626)----------
      * * * STAGE 1 * * *
      Window owner: java.awt.Frame[Frame-owner,100,0,100x100,invalid,hidden,layout=java.awt.BorderLayout,title=Frame,resizable,normal]
      java.awt.event.WindowEvent[WINDOW_OPENED,opposite=null,oldState=0,newState=0] on Frame-owner
      java.awt.event.WindowEvent[WINDOW_OPENED,opposite=null,oldState=0,newState=0] on 1st child
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 2nd child
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 1st child
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on Dialog-owner
      * * * STAGE 2 * * *
      Window nowner: java.awt.Frame[Frame-owner,100,24,100x100,invalid,hidden,layout=java.awt.BorderLayout,title=Frame,resizable,normal]
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 2nd child
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 1st child
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on Frame-owner
      java.awt.event.WindowEvent[WINDOW_OPENED,opposite=null,oldState=0,newState=0] on 2nd child
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 2nd child
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 2nd child
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 1st child
      * * * STAGE 3 * * *
      Widow owner: java.awt.Frame[Frame-owner,100,24,100x100,invalid,hidden,layout=java.awt.BorderLayout,title=Frame,resizable,normal]
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on Dialog-owner
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 2nd child
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 1st child
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on Frame-owner
      java.awt.event.WindowEvent[WINDOW_ACTIVATED,opposite=null,oldState=0,newState=0] on Frame-owner
      java.awt.event.WindowEvent[WINDOW_GAINED_FOCUS,opposite=null,oldState=0,newState=0] on Frame-owner
      java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=ACTIVATION] on java.awt.Frame[Frame-owner,100,24,100x100,layout=java.awt.BorderLayout,title=Frame,resizable,normal]
      java.awt.FocusEvent[FOCUS_LOST,temporary,opposite=java.awt.Button[button0,0,0,100x100,label=button],cause=ACTIVATION] on java.awt.Frame[Frame-owner,100,24,100x100,invalid,layout=java.awt.BorderLayout,title=Frame,resizable,normal]
      java.awt.event.WindowEvent[WINDOW_LOST_FOCUS,opposite=java.awt.Window[2nd child,100,500,100x100,layout=java.awt.BorderLayout],oldState=0,newState=0] on Frame-owner
      java.awt.event.WindowEvent[WINDOW_GAINED_FOCUS,opposite=java.awt.Frame[Frame-owner,100,24,100x100,invalid,layout=java.awt.BorderLayout,title=Frame,resizable,normal],oldState=0,newState=0] on 2nd child
      java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=java.awt.Frame[Frame-owner,100,24,100x100,invalid,layout=java.awt.BorderLayout,title=Frame,resizable,normal],cause=ACTIVATION] on java.awt.Button[button0,0,0,100x100,label=button]
      java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=null,cause=CLEAR_GLOBAL_FOCUS_OWNER] on java.awt.Button[button0,0,0,100x100,invalid,label=button]
      java.awt.event.WindowEvent[WINDOW_LOST_FOCUS,opposite=java.awt.Frame[Frame-owner,100,24,100x100,invalid,layout=java.awt.BorderLayout,title=Frame,resizable,normal],oldState=0,newState=0] on 2nd child
      java.awt.event.WindowEvent[WINDOW_GAINED_FOCUS,opposite=java.awt.Window[2nd child,100,500,100x100,invalid,hidden,layout=java.awt.BorderLayout],oldState=0,newState=0] on Frame-owner
      java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=ACTIVATION] on java.awt.Frame[Frame-owner,100,24,100x100,invalid,layout=java.awt.BorderLayout,title=Frame,resizable,normal]
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 2nd child
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 1st child
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 2nd child
      java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=null,cause=CLEAR_GLOBAL_FOCUS_OWNER] on java.awt.Frame[Frame-owner,100,24,100x100,invalid,hidden,layout=java.awt.BorderLayout,title=Frame,resizable,normal]
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on Dialog-owner
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 2nd child
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 1st child
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on Frame-owner
      * * * STAGE 1 * * *
      Window owner: java.awt.Dialog[Dialog-owner,100,0,100x100,invalid,hidden,layout=java.awt.BorderLayout,MODELESS,title=Dialog]
      java.awt.event.WindowEvent[WINDOW_OPENED,opposite=null,oldState=0,newState=0] on Dialog-owner
      java.awt.event.WindowEvent[WINDOW_OPENED,opposite=null,oldState=0,newState=0] on 1st child
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 2nd child
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 1st child
      * * * STAGE 2 * * *
      Window nowner: java.awt.Dialog[Dialog-owner,100,24,100x100,invalid,hidden,layout=java.awt.BorderLayout,MODELESS,title=Dialog]
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 2nd child
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 1st child
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on Dialog-owner
      java.awt.event.WindowEvent[WINDOW_OPENED,opposite=null,oldState=0,newState=0] on 2nd child
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 2nd child
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 2nd child
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 1st child
      * * * STAGE 3 * * *
      Widow owner: java.awt.Dialog[Dialog-owner,100,24,100x100,invalid,hidden,layout=java.awt.BorderLayout,MODELESS,title=Dialog]
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 2nd child
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 1st child
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on Dialog-owner
      java.awt.event.WindowEvent[WINDOW_LOST_FOCUS,opposite=java.awt.Dialog[Dialog-owner,100,24,100x100,layout=java.awt.BorderLayout,MODELESS,title=Dialog],oldState=0,newState=0] on Frame-owner
      java.awt.event.WindowEvent[WINDOW_DEACTIVATED,opposite=java.awt.Dialog[Dialog-owner,100,24,100x100,layout=java.awt.BorderLayout,MODELESS,title=Dialog],oldState=0,newState=0] on Frame-owner
      java.awt.event.WindowEvent[WINDOW_ACTIVATED,opposite=java.awt.Frame[Frame-owner,100,24,100x100,invalid,hidden,layout=java.awt.BorderLayout,title=Frame,resizable,normal],oldState=0,newState=0] on Dialog-owner
      java.awt.event.WindowEvent[WINDOW_GAINED_FOCUS,opposite=java.awt.Frame[Frame-owner,100,24,100x100,invalid,hidden,layout=java.awt.BorderLayout,title=Frame,resizable,normal],oldState=0,newState=0] on Dialog-owner
      java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=ACTIVATION] on java.awt.Dialog[Dialog-owner,100,24,100x100,layout=java.awt.BorderLayout,MODELESS,title=Dialog]
      java.awt.FocusEvent[FOCUS_LOST,temporary,opposite=java.awt.Button[button0,0,0,100x100,label=button],cause=ACTIVATION] on java.awt.Dialog[Dialog-owner,100,24,100x100,layout=java.awt.BorderLayout,MODELESS,title=Dialog]
      java.awt.event.WindowEvent[WINDOW_LOST_FOCUS,opposite=java.awt.Window[2nd child,100,500,100x100,layout=java.awt.BorderLayout],oldState=0,newState=0] on Dialog-owner
      java.awt.event.WindowEvent[WINDOW_GAINED_FOCUS,opposite=java.awt.Dialog[Dialog-owner,100,24,100x100,layout=java.awt.BorderLayout,MODELESS,title=Dialog],oldState=0,newState=0] on 2nd child
      java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=java.awt.Dialog[Dialog-owner,100,24,100x100,layout=java.awt.BorderLayout,MODELESS,title=Dialog],cause=ACTIVATION] on java.awt.Button[button0,0,0,100x100,label=button]
      java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=null,cause=CLEAR_GLOBAL_FOCUS_OWNER] on java.awt.Button[button0,0,0,100x100,invalid,label=button]
      java.awt.event.WindowEvent[WINDOW_LOST_FOCUS,opposite=java.awt.Dialog[Dialog-owner,100,24,100x100,invalid,layout=java.awt.BorderLayout,MODELESS,title=Dialog],oldState=0,newState=0] on 2nd child
      java.awt.event.WindowEvent[WINDOW_GAINED_FOCUS,opposite=java.awt.Window[2nd child,100,500,100x100,invalid,hidden,layout=java.awt.BorderLayout],oldState=0,newState=0] on Dialog-owner
      java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=ACTIVATION] on java.awt.Dialog[Dialog-owner,100,24,100x100,invalid,layout=java.awt.BorderLayout,MODELESS,title=Dialog]
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 2nd child
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 1st child
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 2nd child
      Test passed.
      java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=null,cause=CLEAR_GLOBAL_FOCUS_OWNER] on java.awt.Dialog[Dialog-owner,100,24,100x100,invalid,hidden,layout=java.awt.BorderLayout,MODELESS,title=Dialog]
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 2nd child
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 1st child
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on Dialog-owner
      ----------System.err:(7/354)----------
      focus owner: java.awt.Button[button0,0,0,100x100,label=button]
      focus owner: java.awt.Button[button0,0,0,100x100,label=button]
      STATUS:Passed.
      X Error of failed request: BadMatch (invalid parameter attributes)
        Major opcode of failed request: 42 (X_SetInputFocus)
        Serial number of failed request: 1470
        Current serial number in output stream: 1471
      result: Failed. Unexpected exit from test [exit code: 1]


      test result: Failed. Unexpected exit from test [exit code: 1]

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              anthony Anthony Petrov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: