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

Test java/awt/TrayIcon/TrayIconEventModifiers/TrayIconEventModifiersTest.java fails

XMLWordPrintable

    • generic
    • linux_ubuntu, windows

      Test name(s):java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFAppModal2Test.java
      JDK tested: 9b28,9b29 ,9b27,9b25
      OS tested:Windows
      Is it a regression? No
      Regression introduced in release/build: No
                         
      Is it platform specific? Yes
                
      The is failure reproduced:Windows

      ----------System.err:(16/1269)----------
      Test can fail if the icon hides to a tray icons poolin Windows 7, which is behavior by default.
      Set "Right mouse click" -> "Customize notification icons" -> "Always show all icons and notifications on the taskbar" true to avoid this problem. Or change behavior only for Java SE tray icon and rerun test.
      java.lang.RuntimeException: FAIL: mousePressed not triggered when CONTROL + BUTTON2 pressed
      at TrayIconEventModifiersTest.doTest(TrayIconEventModifiersTest.java:220)
      at TrayIconEventModifiersTest.main(TrayIconEventModifiersTest.java:124)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:484)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:745)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: FAIL: mousePressed not triggered when CONTROL + BUTTON2 pressed
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: FAIL: mousePressed not triggered when CONTROL + BUTTON2 pressed

            aghaisas Ajit Ghaisas
            pchopra Pooja Chopra (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: