JDK-8169534 : ExtraMouseClick.html Some of Pressed/Released/Clicked events are missed
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 8,9,11
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: windows_7
  • CPU: x86_64
  • Submitted: 2016-11-09
  • Updated: 2025-07-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Description
FULL PRODUCT VERSION :
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) Client VM (build 25.51-b03, mixed mode)

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]

A DESCRIPTION OF THE PROBLEM :
The test  java/awt/Mouse/ExtraMouseClick/ExtraMouseClick.html fails on Windows with the message "java.lang.RuntimeException: Test failed. Some of Pressed/Released/Clicked events are missed or dragged occured. Pressed/Released/Clicked/Dragged = false:false:false:false"

This issue was not observed on Linux, OSX


ERROR MESSAGES/STACK TRACES THAT OCCUR :
#section:applet
----------messages:(3/133)----------
command: applet ExtraMouseClick.html
reason: User specified action: run applet ExtraMouseClick.html 
elapsed time (seconds): 1.77
----------System.out:(0/0)----------
----------System.err:(6/638)----------
java.lang.RuntimeException: Test failed. Some of Pressed/Released/Clicked events are missed or dragged occured. Pressed/Released/Clicked/Dragged = false:false:false:false
	at ExtraMouseClick.checkClicked(ExtraMouseClick.java:234)
	at ExtraMouseClick.start(ExtraMouseClick.java:106)
	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. Some of Pressed/Released/Clicked events are missed or dragged occured. Pressed/Released/Clicked/Dragged = false:false:false:false


REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
The test is from Regression test suite (jtreg)
http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/file/f7be58eb30bc/test/java/awt/Mouse/ExtraMouseClick
---------- END SOURCE ----------


Comments
Reproduced with java/awt group test in windows environment - attached the error log. JDK9 build 142 - JDK9_build142_ExtraMouseClick_erro_log.txt JDK8 build132 - JDK8_build132_ExtraMouseClick_error_log.txt
11-11-2016

In my testing, the test passed when run as standalone on 8b132, 8u51, 8u112 and 9b143. Looks like test fails when run at a group level from "java/awt" - this is the observation from Abdul (he has attached log)
11-11-2016

does it affect 9?
10-11-2016