-
Bug
-
Resolution: Unresolved
-
P4
-
8u112
-
Cause Known
-
x86_64
-
os_x, windows_10
FULL PRODUCT VERSION :
JDK under test: C:\\Java\\jdk-9
java version "9-ea"
Java(TM) SE Runtime Environment (build 9-ea+148)
Java HotSpot(TM) 64-Bit Server VM (build 9-ea+148, mixed mode)
JDK under test: C:\\Java\\jdk1.8.0_112
java version "1.8.0_112"
Java(TM) SE Runtime Environment (build 1.8.0_112-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.112-b15, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 10.0.14393]
A DESCRIPTION OF THE PROBLEM :
The test java/awt/Focus/8013611/JDK8013611.java fails with the message "Test failed: dialog didn't get focus!" on Windows with both Java 8 and 9.
This issue was not observed on Linux, OSX.
The test passes in standalone mode but fails in the group running with the test java/awt/Focus/6981400/Test3.java
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
jtreg -v -a -xml -testjdk:C:/Java/jdk-9 -javaoptions:-Djava.awt.headless=false -timeoutFactor:2 test/java/awt/Focus/6981400/Test3.java test/java/awt/Focus/8013611/JDK8013611.java
ERROR MESSAGES/STACK TRACES THAT OCCUR :
#section:main
----------messages:(4/125)----------
command: main JDK8013611
reason: User specified action: run main JDK8013611
Mode: othervm
elapsed time (seconds): 0.686
----------configuration:(0/0)----------
----------System.out:(0/0)----------
----------System.err:(14/824)----------
java.lang.RuntimeException: Test failed: dialog didn't get focus!
at JDK8013611.test(JDK8013611.java:96)
at JDK8013611.main(JDK8013611.java:80)
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: dialog didn't get focus!
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed: dialog didn't get focus!
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/file/0e4fc29a5ce4/test/java/awt/Focus/8013611/JDK8013611.java
---------- END SOURCE ----------
JDK under test: C:\\Java\\jdk-9
java version "9-ea"
Java(TM) SE Runtime Environment (build 9-ea+148)
Java HotSpot(TM) 64-Bit Server VM (build 9-ea+148, mixed mode)
JDK under test: C:\\Java\\jdk1.8.0_112
java version "1.8.0_112"
Java(TM) SE Runtime Environment (build 1.8.0_112-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.112-b15, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 10.0.14393]
A DESCRIPTION OF THE PROBLEM :
The test java/awt/Focus/8013611/JDK8013611.java fails with the message "Test failed: dialog didn't get focus!" on Windows with both Java 8 and 9.
This issue was not observed on Linux, OSX.
The test passes in standalone mode but fails in the group running with the test java/awt/Focus/6981400/Test3.java
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
jtreg -v -a -xml -testjdk:C:/Java/jdk-9 -javaoptions:-Djava.awt.headless=false -timeoutFactor:2 test/java/awt/Focus/6981400/Test3.java test/java/awt/Focus/8013611/JDK8013611.java
ERROR MESSAGES/STACK TRACES THAT OCCUR :
#section:main
----------messages:(4/125)----------
command: main JDK8013611
reason: User specified action: run main JDK8013611
Mode: othervm
elapsed time (seconds): 0.686
----------configuration:(0/0)----------
----------System.out:(0/0)----------
----------System.err:(14/824)----------
java.lang.RuntimeException: Test failed: dialog didn't get focus!
at JDK8013611.test(JDK8013611.java:96)
at JDK8013611.main(JDK8013611.java:80)
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: dialog didn't get focus!
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed: dialog didn't get focus!
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/file/0e4fc29a5ce4/test/java/awt/Focus/8013611/JDK8013611.java
---------- END SOURCE ----------