-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
10.0.2
-
x86_64
-
windows_10
ADDITIONAL SYSTEM INFORMATION :
JDK under test: C:\\Program Files\\Java\\jdk-10.0.2
java version "10.0.2" 2018-07-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)
A DESCRIPTION OF THE PROBLEM :
The tests java/awt/Dialog/NestedDialogs/Modal/NestedModalDialogTest.java and
java/awt/Dialog/NestedDialogs/Modeless/NestedModelessDialogTest.java fail on Windows with the message "object creation failed"
The issue was also observed on MacOSX.
It has never been observed on Linux.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
>java -jar jtreg\lib\jtreg.jar -ignore:quiet -v -a -xml -testjdk:"C:\Program Files\Java\jdk-10.0.2" -javaoptions:"-Djava.awt.headless=false" test\java\awt\Dialog\NestedDialogs\Modal\NestedModalDialogTest.java
>java -jar jtreg\lib\jtreg.jar -ignore:quiet -v -a -xml -testjdk:"C:\Program Files\Java\jdk-10.0.2" -javaoptions:"-Djava.awt.headless=false" test\java\awt\Dialog\NestedDialogs\Modeless\NestedModelessDialogTest.java
ACTUAL -
#section:main
----------messages:(5/209)----------
command: main NestedModalDialogTest
reason: User specified action: run main NestedModalDialogTest
Mode: othervm
Additional options from @modules: --add-modules java.desktop
elapsed time (seconds): 6.004
----------configuration:(3/43)----------
Boot Layer
add modules: java.desktop
----------System.out:(0/0)----------
----------System.err:(13/904)----------
java.lang.RuntimeException: NestedModalDialogTest object creation failed
at NestedModalDialogTest.main(NestedModalDialogTest.java:282)
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:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:844)
JavaTest Message: Test threw exception: java.lang.RuntimeException: NestedModalDialogTest object creation failed
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: NestedModalDialogTest object creation failed
---------- BEGIN SOURCE ----------
http://hg.openjdk.java.net/jdk10/jdk10/jdk/file/777356696811/test/java/awt/Dialog/NestedDialogs/Modal/NestedModalDialogTest.java
http://hg.openjdk.java.net/jdk10/jdk10/jdk/file/777356696811/test/java/awt/Dialog/NestedDialogs/Modeless/NestedModelessDialogTest.java
---------- END SOURCE ----------
FREQUENCY : always
JDK under test: C:\\Program Files\\Java\\jdk-10.0.2
java version "10.0.2" 2018-07-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)
A DESCRIPTION OF THE PROBLEM :
The tests java/awt/Dialog/NestedDialogs/Modal/NestedModalDialogTest.java and
java/awt/Dialog/NestedDialogs/Modeless/NestedModelessDialogTest.java fail on Windows with the message "object creation failed"
The issue was also observed on MacOSX.
It has never been observed on Linux.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
>java -jar jtreg\lib\jtreg.jar -ignore:quiet -v -a -xml -testjdk:"C:\Program Files\Java\jdk-10.0.2" -javaoptions:"-Djava.awt.headless=false" test\java\awt\Dialog\NestedDialogs\Modal\NestedModalDialogTest.java
>java -jar jtreg\lib\jtreg.jar -ignore:quiet -v -a -xml -testjdk:"C:\Program Files\Java\jdk-10.0.2" -javaoptions:"-Djava.awt.headless=false" test\java\awt\Dialog\NestedDialogs\Modeless\NestedModelessDialogTest.java
ACTUAL -
#section:main
----------messages:(5/209)----------
command: main NestedModalDialogTest
reason: User specified action: run main NestedModalDialogTest
Mode: othervm
Additional options from @modules: --add-modules java.desktop
elapsed time (seconds): 6.004
----------configuration:(3/43)----------
Boot Layer
add modules: java.desktop
----------System.out:(0/0)----------
----------System.err:(13/904)----------
java.lang.RuntimeException: NestedModalDialogTest object creation failed
at NestedModalDialogTest.main(NestedModalDialogTest.java:282)
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:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:844)
JavaTest Message: Test threw exception: java.lang.RuntimeException: NestedModalDialogTest object creation failed
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: NestedModalDialogTest object creation failed
---------- BEGIN SOURCE ----------
http://hg.openjdk.java.net/jdk10/jdk10/jdk/file/777356696811/test/java/awt/Dialog/NestedDialogs/Modal/NestedModalDialogTest.java
http://hg.openjdk.java.net/jdk10/jdk10/jdk/file/777356696811/test/java/awt/Dialog/NestedDialogs/Modeless/NestedModelessDialogTest.java
---------- END SOURCE ----------
FREQUENCY : always