JDK-8273561 : java/awt/Mouse/ExtraMouseClick/ExtraMouseClick.java fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 8
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: linux,os_x
  • Submitted: 2021-09-09
  • Updated: 2022-01-10
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.
JDK 8
8-poolUnresolved
Related Reports
Relates :  
Relates :  
Description
The test java/awt/Mouse/ExtraMouseClick/ExtraMouseClick.java always fails on macOS:

...  ...  ...
MousePressed
MouseDragged--java.awt.event.MouseEvent[MOUSE_DRAGGED,(241,150),absolute(961,520),clickCount=0] on frame0
MouseReleased
MouseClicked!!!!
Exception in thread "main" java.lang.RuntimeException: Test failed. Clicked event follows by Dragged. Dragged = true. Clicked = true : distance = 2
        at ExtraMouseClick.oneDrag(ExtraMouseClick.java:180)
        at ExtraMouseClick.start(ExtraMouseClick.java:121)
        at ExtraMouseClick.main(ExtraMouseClick.java:67)

% java -version
java version "1.8.0_301"
Java(TM) SE Runtime Environment (build 1.8.0_301-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.301-b09, mixed mode)