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

test/java/awt/Mouse/MouseModifiersUnitTest/MouseModifiersUnitTest_Extra.java fails

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b114
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      The test fails on linux-i586, Gnome/Metacity 2.24 with the current JDK 7 (~ b59):
      The test also leaves a modifier key (Shift) in the pressed state.
      The .jtr file is attached.

      ----------System.err:(20/1458)----------
      java.lang.RuntimeException: Test failed : Pressed. modifiersEx != curStandardExModifiers
      at MessageLogger.reportError(MouseModifiersUnitTest_Extra.java:487)
      at MouseModifiersUnitTest_Extra.checkPressedModifiersTest(MouseModifiersUnitTest_Extra.java:59)
      at CheckingModifierAdapter.mousePressed(MouseModifiersUnitTest_Extra.java:450)
      at java.awt.Component.processMouseEvent(Component.java:6267)
      at java.awt.Component.processEvent(Component.java:6035)
      at java.awt.Container.processEvent(Container.java:2084)
      at java.awt.Window.processEvent(Window.java:1930)
      at java.awt.Component.dispatchEventImpl(Component.java:4630)
      at java.awt.Container.dispatchEventImpl(Container.java:2142)
      at java.awt.Window.dispatchEventImpl(Window.java:2612)
      at java.awt.Component.dispatchEvent(Component.java:4456)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:605)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:286)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:201)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:191)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:186)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:139)
      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed : Pressed. modifiersEx != curStandardExModifiers
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test failed : Pressed. modifiersEx != curStandardExModifiers


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test failed : Pressed. modifiersEx != curStandardExModifiers

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dav Andrei Dmitriev (Inactive)
              Reporter:
              anthony Anthony Petrov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: