-
Bug
-
Resolution: Fixed
-
P4
-
19, 20
-
b15
-
x86_64
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8333137 | 21.0.5-oracle | Maheshkumar Bollapragada | P4 | Resolved | Fixed | b01 |
JDK-8334092 | 21.0.5 | Andrew Lu | P4 | Resolved | Fixed | b01 |
JDK-8333135 | 17.0.13-oracle | Maheshkumar Bollapragada | P4 | Resolved | Fixed | b01 |
JDK-8334188 | 17.0.13 | Andrew Lu | P4 | Resolved | Fixed | b01 |
JDK-8333136 | 11.0.25-oracle | Maheshkumar Bollapragada | P4 | Resolved | Fixed | b01 |
JDK-8334273 | 11.0.25 | Andrew Lu | P4 | Resolved | Fixed | b01 |
JDK-8333485 | 8u431 | Maheshkumar Bollapragada | P4 | Resolved | Fixed | b01 |
java/awt/Focus/NonFocusableWindowTest/NonfocusableOwnerTest.java
Here's a snippet from the log file:
#section:main
----------messages:(5/208)----------
command: main NonfocusableOwnerTest
reason: User specified action: run main NonfocusableOwnerTest
Mode: othervm
Additional options from @modules: --add-modules java.desktop
elapsed time (seconds): 2.09
----------configuration:(3/43)----------
Boot Layer
add modules: java.desktop
----------System.out:(50/5177)----------
* * * 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
java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on Frame-owner
* * * STAGE 2 * * *
Window nowner: java.awt.Frame[Frame-owner,100,0,136x100,invalid,hidden,layout=java.awt.BorderLayout,title=Frame,resizable,normal]
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
java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on Frame-owner
* * * STAGE 3 * * *
Widow owner: java.awt.Frame[Frame-owner,100,0,136x100,invalid,hidden,layout=java.awt.BorderLayout,title=Frame,resizable,normal]
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
sun.awt.TimedWindowEvent[WINDOW_LOST_FOCUS,opposite=java.awt.Window[2nd child,100,500,100x100,layout=java.awt.BorderLayout],oldState=0,newState=0] on Frame-owner
sun.awt.TimedWindowEvent[WINDOW_GAINED_FOCUS,opposite=java.awt.Frame[Frame-owner,100,0,136x100,layout=java.awt.BorderLayout,title=Frame,resizable,normal],oldState=0,newState=0] on 2nd child
java.awt.event.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=ACTIVATION] on button0
java.awt.event.FocusEvent[FOCUS_LOST,permanent,opposite=null,cause=CLEAR_GLOBAL_FOCUS_OWNER] on button0
sun.awt.TimedWindowEvent[WINDOW_LOST_FOCUS,opposite=java.awt.Window[1st child,100,300,100x100,invalid,hidden,layout=java.awt.BorderLayout],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_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.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on 1st child
java.awt.event.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=ACTIVATION] on Frame-owner
java.awt.event.FocusEvent[FOCUS_LOST,permanent,opposite=null,cause=CLEAR_GLOBAL_FOCUS_OWNER] on Frame-owner
sun.awt.TimedWindowEvent[WINDOW_LOST_FOCUS,opposite=null,oldState=0,newState=0] on Frame-owner
java.awt.event.WindowEvent[WINDOW_DEACTIVATED,opposite=null,oldState=0,newState=0] on Frame-owner
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 1st child
* * * STAGE 2 * * *
Window nowner: java.awt.Dialog[Dialog-owner,100,0,136x100,invalid,hidden,layout=java.awt.BorderLayout,MODELESS,title=Dialog]
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 1st child
* * * STAGE 3 * * *
Widow owner: java.awt.Dialog[Dialog-owner,100,0,136x100,invalid,hidden,layout=java.awt.BorderLayout,MODELESS,title=Dialog]
java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on Dialog-owner
java.awt.event.WindowEvent[WINDOW_ACTIVATED,opposite=null,oldState=0,newState=0] on Dialog-owner
sun.awt.TimedWindowEvent[WINDOW_GAINED_FOCUS,opposite=null,oldState=0,newState=0] on Dialog-owner
sun.awt.TimedWindowEvent[WINDOW_LOST_FOCUS,opposite=java.awt.Window[2nd child,100,500,100x100,layout=java.awt.BorderLayout],oldState=0,newState=0] on Dialog-owner
sun.awt.TimedWindowEvent[WINDOW_GAINED_FOCUS,opposite=java.awt.Dialog[Dialog-owner,100,0,136x100,invalid,layout=java.awt.BorderLayout,MODELESS,title=Dialog],oldState=0,newState=0] on 2nd child
java.awt.event.WindowEvent[WINDOW_LOST_FOCUS,opposite=java.awt.Dialog[Dialog-owner,100,0,136x100,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,layout=java.awt.BorderLayout],oldState=0,newState=0] on Dialog-owner
java.awt.event.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=ACTIVATION] on Dialog-owner
----------System.err:(15/928)----------
focus owner: java.awt.Button[button0,0,0,100x100,label=button]
focus owner: java.awt.Dialog[Dialog-owner,100,0,136x100,invalid,layout=java.awt.BorderLayout,MODELESS,title=Dialog]
java.lang.RuntimeException: Test failed.
at NonfocusableOwnerTest.test3(NonfocusableOwnerTest.java:150)
at NonfocusableOwnerTest.start(NonfocusableOwnerTest.java:85)
at NonfocusableOwnerTest.main(NonfocusableOwnerTest.java:48)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:833)
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.
----------rerun:(47/5363)*----------
- backported by
-
JDK-8333135 java/awt/Focus/NonFocusableWindowTest/NonfocusableOwnerTest.java failed with "RuntimeException: Test failed."
- Resolved
-
JDK-8333136 java/awt/Focus/NonFocusableWindowTest/NonfocusableOwnerTest.java failed with "RuntimeException: Test failed."
- Resolved
-
JDK-8333137 java/awt/Focus/NonFocusableWindowTest/NonfocusableOwnerTest.java failed with "RuntimeException: Test failed."
- Resolved
-
JDK-8333485 java/awt/Focus/NonFocusableWindowTest/NonfocusableOwnerTest.java failed with "RuntimeException: Test failed."
- Resolved
-
JDK-8334092 java/awt/Focus/NonFocusableWindowTest/NonfocusableOwnerTest.java failed with "RuntimeException: Test failed."
- Resolved
-
JDK-8334188 java/awt/Focus/NonFocusableWindowTest/NonfocusableOwnerTest.java failed with "RuntimeException: Test failed."
- Resolved
-
JDK-8334273 java/awt/Focus/NonFocusableWindowTest/NonfocusableOwnerTest.java failed with "RuntimeException: Test failed."
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/39016332
-
Commit openjdk/jdk17u-dev/8c80c8f2
-
Commit openjdk/jdk21u-dev/150e2287
-
Commit openjdk/jdk/3f2e849c
-
Review openjdk/jdk11u-dev/2754
-
Review openjdk/jdk11u-dev/2758
-
Review openjdk/jdk17u-dev/2564
-
Review openjdk/jdk21u-dev/690
-
Review openjdk/jdk/18091