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

Test java/awt/event/KeyEvent/KeyMaskTest/KeyMaskTest.java fails on Solaris

    XMLWordPrintable

    Details

    • Subcomponent:
    • OS:
      solaris_11, solaris_12

      Description

      Testsuite name: jdk_awt
      Test name(s): java/awt/event/KeyEvent/KeyMaskTest/KeyMaskTest.java
      Product(s) tested: JDK 1.9.0 b85
      OS/architecture: Solaris x64

      Error log file : Please see the attached jtr file

      Reproducible: Always


      Is it a Regression: No (Test also fails for JDK 9 b 26 , where the test was first intoduced)

      Is it a platform specific issue: Yes (Test passes on OEL 7)
      [If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing: No


      Exception/Error from Log:
      java.lang.RuntimeException: wrong key code: expected 18 to equal 157
      at jdk.testlibrary.Asserts.fail(Asserts.java:536)
      at jdk.testlibrary.Asserts.assertEquals(Asserts.java:205)
      at jdk.testlibrary.Asserts.assertEQ(Asserts.java:178)
      at KeyMaskTest.keyPressed(KeyMaskTest.java:131)
      at java.awt.Component.processKeyEvent(Component.java:6565)
      at java.awt.Component.processEvent(Component.java:6384)
      at java.awt.Button.processEvent(Button.java:381)
      at java.awt.Component.dispatchEventImpl(Component.java:4991)
      at java.awt.Component.dispatchEvent(Component.java:4823)
      at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1958)
      at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:806)
      at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1075)
      at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:945)
      at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:771)
      at java.awt.Component.dispatchEventImpl(Component.java:4872)
      at java.awt.Container.dispatchEventImpl(Container.java:2317)
      at java.awt.Window.dispatchEventImpl(Window.java:2759)
      at java.awt.Component.dispatchEvent(Component.java:4823)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:761)
      at java.awt.EventQueue.access$500(EventQueue.java:97)
      at java.awt.EventQueue$3.run(EventQueue.java:712)
      at java.awt.EventQueue$3.run(EventQueue.java:706)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
      at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
      at java.awt.EventQueue$4.run(EventQueue.java:734)
      at java.awt.EventQueue$4.run(EventQueue.java:732)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:731)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:192)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:106)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:102)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:94)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: wrong key code: expected 18 to equal 157

        Attachments

          Activity

            People

            Assignee:
            ssadetsky Semyon Sadetsky (Inactive)
            Reporter:
            vagarwal Vikrant Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: