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

java/awt/Focus/NonFocusableWindowTest/NonfocusableOwnerTest.java fails because focus owner: null

XMLWordPrintable

    • x86_64
    • os_x, windows_10

      FULL PRODUCT VERSION :


      ADDITIONAL OS VERSION INFORMATION :
      $ uname -a
      Darwin unit-929.nsk.labs.intellij.net 16.0.0 Darwin Kernel Version 16.0.0: Mon Aug 29 17:56:20 PDT 2016; root:xnu-3789.1.32~3/RELEASE_X86_64 x86_64

      A DESCRIPTION OF THE PROBLEM :
      The test java/awt/Focus/NonFocusableWindowTest/NonfocusableOwnerTest.java fails with the following output:
      -------------------------------8<-------------------------------
      ----------configuration:(0/0)----------
      ----------System.out:(16/1376)----------
      * * * 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 1st child
      * * * STAGE 2 * * *
      Window nowner: java.awt.Frame[Frame-owner,100,23,100x100,invalid,hidden,layout=java.awt.BorderLayout,title=Frame,resizable,normal]
      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 1st child
      * * * STAGE 3 * * *
      Widow owner: java.awt.Frame[Frame-owner,100,23,100x100,invalid,hidden,layout=java.awt.BorderLayout,title=Frame,resizable,normal]
      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
      sun.awt.TimedWindowEvent[WINDOW_GAINED_FOCUS,opposite=null,oldState=0,newState=0] on Frame-owner
      ----------System.err:(16/862)----------
      focus owner: null
      java.lang.RuntimeException: Test failed.
              at NonfocusableOwnerTest.test3(NonfocusableOwnerTest.java:153)
              at NonfocusableOwnerTest.start(NonfocusableOwnerTest.java:77)
              at NonfocusableOwnerTest.main(NonfocusableOwnerTest.java:51)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
              at java.lang.Thread.run(Thread.java:745)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed.
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed.
      -------------------------------8<-------------------------------

      There are the following known issues reported against Java 7:
      http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7124377
      http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7145827

      The failure was intermittently observed on Mac OSX and Windows10


      REPRODUCIBILITY :
      This bug can be reproduced occasionally.

            kaddepalli Krishna Addepalli
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: