-
Bug
-
Resolution: Unresolved
-
P4
-
8, 8u112, 9, 11
-
x86_64
-
windows_10
FULL PRODUCT VERSION :
A DESCRIPTION OF THE PROBLEM :
The test java/awt/event/MouseEvent/MouseClickTest/MouseClickTest.html intermittently fails due to wrong number of MouseClick events. The failure was observed on Mac OSX and Windows 10
ERROR MESSAGES/STACK TRACES THAT OCCUR :
the following output was produced on Mac OSX:
```
----------System.out:(4/312)----------
java.awt.event.MouseEvent[MOUSE_CLICKED,(25,50),absolute(125,150),button=1,modifiers=Button1,clickCount=1] on frame1
Test passed.
java.awt.event.MouseEvent[MOUSE_CLICKED,(50,50),absolute(150,150),button=1,modifiers=Button1,clickCount=0] on frame1
Wrong number of MouseClick events were generated: 1, expected: 0
----------System.err:(7/428)----------
java.lang.RuntimeException: Test failed!
at MouseClickTest.oneButtonPressRelease(MouseClickTest.java:109)
at MouseClickTest.runTests(MouseClickTest.java:76)
at MouseClickTest.start(MouseClickTest.java:54)
at com.sun.javatest.regtest.agent.AppletWrapper$AppletRunnable.run(AppletWrapper.java:158)
at java.lang.Thread.run(Thread.java:745)
STATUS:Failed.Applet thread threw exception: java.lang.RuntimeException: Test failed!
```
and on ''Windows 10''
```
----------System.out:(1/66)----------
Wrong number of MouseClick events were generated: 0, expected: 1
----------System.err:(7/435)----------
java.lang.RuntimeException: Test failed!
at MouseClickTest.oneButtonPressRelease(MouseClickTest.java:109)
at MouseClickTest.runTests(MouseClickTest.java:75)
at MouseClickTest.start(MouseClickTest.java:54)
at com.sun.javatest.regtest.agent.AppletWrapper$AppletRunnable.run(AppletWrapper.java:158)
at java.lang.Thread.run(Thread.java:745)
STATUS:Failed.Applet thread threw exception: java.lang.RuntimeException: Test failed!
```
REPRODUCIBILITY :
This bug can be reproduced occasionally.
A DESCRIPTION OF THE PROBLEM :
The test java/awt/event/MouseEvent/MouseClickTest/MouseClickTest.html intermittently fails due to wrong number of MouseClick events. The failure was observed on Mac OSX and Windows 10
ERROR MESSAGES/STACK TRACES THAT OCCUR :
the following output was produced on Mac OSX:
```
----------System.out:(4/312)----------
java.awt.event.MouseEvent[MOUSE_CLICKED,(25,50),absolute(125,150),button=1,modifiers=Button1,clickCount=1] on frame1
Test passed.
java.awt.event.MouseEvent[MOUSE_CLICKED,(50,50),absolute(150,150),button=1,modifiers=Button1,clickCount=0] on frame1
Wrong number of MouseClick events were generated: 1, expected: 0
----------System.err:(7/428)----------
java.lang.RuntimeException: Test failed!
at MouseClickTest.oneButtonPressRelease(MouseClickTest.java:109)
at MouseClickTest.runTests(MouseClickTest.java:76)
at MouseClickTest.start(MouseClickTest.java:54)
at com.sun.javatest.regtest.agent.AppletWrapper$AppletRunnable.run(AppletWrapper.java:158)
at java.lang.Thread.run(Thread.java:745)
STATUS:Failed.Applet thread threw exception: java.lang.RuntimeException: Test failed!
```
and on ''Windows 10''
```
----------System.out:(1/66)----------
Wrong number of MouseClick events were generated: 0, expected: 1
----------System.err:(7/435)----------
java.lang.RuntimeException: Test failed!
at MouseClickTest.oneButtonPressRelease(MouseClickTest.java:109)
at MouseClickTest.runTests(MouseClickTest.java:75)
at MouseClickTest.start(MouseClickTest.java:54)
at com.sun.javatest.regtest.agent.AppletWrapper$AppletRunnable.run(AppletWrapper.java:158)
at java.lang.Thread.run(Thread.java:745)
STATUS:Failed.Applet thread threw exception: java.lang.RuntimeException: Test failed!
```
REPRODUCIBILITY :
This bug can be reproduced occasionally.
- duplicates
-
JDK-8072110 Toolkit.realSync() forces a lot of graphical tests to fail on embedded devices
- Open