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

Resolve IDE warnings in WTrayIconPeer and SystemTray

    XMLWordPrintable

Details

    • b26

    Backports

      Description

        WTrayIconPeer.disposeImpl calls popupParent.dispose() twice, the second call may produce NullPointerException.

        SystemTray has a few redundant initializers for local variables.

        SystemTray.getTrayIcons uses a sized array in toArray call, empty array is more efficient.

        Attachments

          Issue Links

            Activity

              People

                aivanov Alexey Ivanov
                aivanov Alexey Ivanov
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: