-
Bug
-
Resolution: Won't Fix
-
P4
-
10, 11, 12
-
x86
-
os_x
ADDITIONAL SYSTEM INFORMATION :
$ uname -a
Darwin unit 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64
JDK under test: /Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home
java version "11.0.1" 2018-10-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)
A DESCRIPTION OF THE PROBLEM :
The test java/awt/Window/MultiWindowApp/ChildAlwaysOnTopTest.java fails on MacOS with the message: "java.lang.RuntimeException: alawaysOnTop window is sent back by another child window setVisible(). java.awt.Color[r=35,g=255,b=7]"
The failure was also observed on Windows
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
$ jtreg -ignore:quiet -v -a -xml -testjdk:/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/ java/awt/Window/MultiWindowApp/ChildAlwaysOnTopTest.java
ACTUAL -
#section:main
----------messages:(5/202)----------
command: main ChildAlwaysOnTopTest
reason: User specified action: run main ChildAlwaysOnTopTest
Mode: othervm
Additional options from @modules: --add-modules java.desktop
elapsed time (seconds): 1.792
----------configuration:(3/40)----------
Boot Layer
add modules: java.desktop
----------System.out:(0/0)----------
----------System.err:(14/1120)----------
java.lang.RuntimeException: alawaysOnTop window is sent back by another child window setVisible(). java.awt.Color[r=35,g=255,b=7]
at ChildAlwaysOnTopTest.test(ChildAlwaysOnTopTest.java:113)
at ChildAlwaysOnTopTest.main(ChildAlwaysOnTopTest.java:47)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:834)
JavaTest Message: Test threw exception: java.lang.RuntimeException: alawaysOnTop window is sent back by another child window setVisible(). java.awt.Color[r=35,g=255,b=7]
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: alawaysOnTop window is sent back by another child window setVisible(). java.awt.Color[r=35,g=255,b=7]
---------- BEGIN SOURCE ----------
http://hg.openjdk.java.net/jdk/jdk11/file/1ddf9a99e4ad/test/jdk/java/awt/Window/MultiWindowApp/ChildAlwaysOnTopTest.java
---------- END SOURCE ----------
FREQUENCY : always
$ uname -a
Darwin unit 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64
JDK under test: /Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home
java version "11.0.1" 2018-10-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)
A DESCRIPTION OF THE PROBLEM :
The test java/awt/Window/MultiWindowApp/ChildAlwaysOnTopTest.java fails on MacOS with the message: "java.lang.RuntimeException: alawaysOnTop window is sent back by another child window setVisible(). java.awt.Color[r=35,g=255,b=7]"
The failure was also observed on Windows
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
$ jtreg -ignore:quiet -v -a -xml -testjdk:/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/ java/awt/Window/MultiWindowApp/ChildAlwaysOnTopTest.java
ACTUAL -
#section:main
----------messages:(5/202)----------
command: main ChildAlwaysOnTopTest
reason: User specified action: run main ChildAlwaysOnTopTest
Mode: othervm
Additional options from @modules: --add-modules java.desktop
elapsed time (seconds): 1.792
----------configuration:(3/40)----------
Boot Layer
add modules: java.desktop
----------System.out:(0/0)----------
----------System.err:(14/1120)----------
java.lang.RuntimeException: alawaysOnTop window is sent back by another child window setVisible(). java.awt.Color[r=35,g=255,b=7]
at ChildAlwaysOnTopTest.test(ChildAlwaysOnTopTest.java:113)
at ChildAlwaysOnTopTest.main(ChildAlwaysOnTopTest.java:47)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:834)
JavaTest Message: Test threw exception: java.lang.RuntimeException: alawaysOnTop window is sent back by another child window setVisible(). java.awt.Color[r=35,g=255,b=7]
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: alawaysOnTop window is sent back by another child window setVisible(). java.awt.Color[r=35,g=255,b=7]
---------- BEGIN SOURCE ----------
http://hg.openjdk.java.net/jdk/jdk11/file/1ddf9a99e4ad/test/jdk/java/awt/Window/MultiWindowApp/ChildAlwaysOnTopTest.java
---------- END SOURCE ----------
FREQUENCY : always