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

[TESTBUG] [PIT]: java/awt/TrayIcon/TrayIconPopup/TrayIconPopupClickTest.java fails

    XMLWordPrintable

Details

    • Fix Understood

    Description

      This is a new test for the fix of
      https://bugs.openjdk.java.net/browse/JDK-8146537

      I find the test to fail at least on Windows 7.
      It may be a test bug or perhaps the fix does not work properly
      -------
      Test can fail if the icon hides to a tray icons pool in Windows 7/10, 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.
      java.lang.RuntimeException: Unable to find the icon location!
      at TrayIconPopupClickTest.doTest(TrayIconPopupClickTest.java:104)
      at TrayIconPopupClickTest.main(TrayIconPopupClickTest.java:66)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:844)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Unable to find the icon location!
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Unable to find the icon location!

      Attachments

        Activity

          People

            Unassigned Unassigned
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: