-
Bug
-
Resolution: Duplicate
-
P4
-
10, 11
-
x86_64
-
windows_10
ADDITIONAL SYSTEM INFORMATION :
Microsoft Windows [Version 10.0.17134.165]
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 :
At least two tests java\awt\Modal\FileDialog\FileDialogNonModal7Test.java and java\awt\Modal\ModalExclusionTests\ApplicationExcludeDialogFileTest.java fail with the message " Clicking the frame Open button did not trigger an action. : expected false to equal true"
The issue was observed on Windows and MacOSX.
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\Modal\ModalExclusionTests\ApplicationExcludeDialogFileTest.java
ACTUAL -
#section:main
----------messages:(5/232)----------
command: main ApplicationExcludeDialogFileTest
reason: User specified action: run main ApplicationExcludeDialogFileTest
Mode: othervm
Additional options from @modules: --add-modules java.desktop
elapsed time (seconds): 28.876
----------configuration:(3/43)----------
Boot Layer
add modules: java.desktop
----------System.out:(0/0)----------
----------System.err:(19/1392)----------
java.lang.RuntimeException: Clicking the dialog Open button did not trigger an action. : expected false to equal true
at jdk.testlibrary.Asserts.fail(Asserts.java:540)
at jdk.testlibrary.Asserts.assertEquals(Asserts.java:209)
at jdk.testlibrary.Asserts.assertEQ(Asserts.java:182)
at TestDialog.clickOpenButton(TestDialog.java:227)
at TestDialog.clickOpenButton(TestDialog.java:214)
at ExcludeDialogTest.doTest(ExcludeDialogTest.java:160)
at ApplicationExcludeDialogFileTest.main(ApplicationExcludeDialogFileTest.java:48)
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: Clicking the dialog Open button did not trigger an action. : expected false to equal true
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Clicking the dialog Open button did not trigger an action. : expected false to equal true
---------- BEGIN SOURCE ----------
http://hg.openjdk.java.net/jdk10/jdk10/jdk/file/777356696811/test/java/awt/Modal/ModalExclusionTests/ApplicationExcludeDialogFileTest.java
---------- END SOURCE ----------
FREQUENCY : always
Microsoft Windows [Version 10.0.17134.165]
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 :
At least two tests java\awt\Modal\FileDialog\FileDialogNonModal7Test.java and java\awt\Modal\ModalExclusionTests\ApplicationExcludeDialogFileTest.java fail with the message " Clicking the frame Open button did not trigger an action. : expected false to equal true"
The issue was observed on Windows and MacOSX.
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\Modal\ModalExclusionTests\ApplicationExcludeDialogFileTest.java
ACTUAL -
#section:main
----------messages:(5/232)----------
command: main ApplicationExcludeDialogFileTest
reason: User specified action: run main ApplicationExcludeDialogFileTest
Mode: othervm
Additional options from @modules: --add-modules java.desktop
elapsed time (seconds): 28.876
----------configuration:(3/43)----------
Boot Layer
add modules: java.desktop
----------System.out:(0/0)----------
----------System.err:(19/1392)----------
java.lang.RuntimeException: Clicking the dialog Open button did not trigger an action. : expected false to equal true
at jdk.testlibrary.Asserts.fail(Asserts.java:540)
at jdk.testlibrary.Asserts.assertEquals(Asserts.java:209)
at jdk.testlibrary.Asserts.assertEQ(Asserts.java:182)
at TestDialog.clickOpenButton(TestDialog.java:227)
at TestDialog.clickOpenButton(TestDialog.java:214)
at ExcludeDialogTest.doTest(ExcludeDialogTest.java:160)
at ApplicationExcludeDialogFileTest.main(ApplicationExcludeDialogFileTest.java:48)
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: Clicking the dialog Open button did not trigger an action. : expected false to equal true
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Clicking the dialog Open button did not trigger an action. : expected false to equal true
---------- BEGIN SOURCE ----------
http://hg.openjdk.java.net/jdk10/jdk10/jdk/file/777356696811/test/java/awt/Modal/ModalExclusionTests/ApplicationExcludeDialogFileTest.java
---------- END SOURCE ----------
FREQUENCY : always
- duplicates
-
JDK-7125054 [macosx] On Mac, PageDialog and PrintDialog block modal excluded windows
- Open