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

Resolve IDE warnings in WTrayIconPeer and SystemTray

XMLWordPrintable

    • b26

        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.

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

                Created:
                Updated:
                Resolved: