Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8273561

java/awt/Mouse/ExtraMouseClick/ExtraMouseClick.java fails on macOS

    XMLWordPrintable

    Details

      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)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              aivanov Alexey Ivanov
              Reporter:
              aivanov Alexey Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: