The fix for the JDK-8187639 reimplemented the tray icon messages using the 
standard notification center, it worked fine on macOS 10.9. But on the new 
macOS, the usage of that API requests permission from the user. Since the code 
was added to the NSApplicationAWT this request is always shown even if the app 
does not use tray icons. This fix moves the code to the tray icon itself. I 
have tested this on macOS 11.2. It will be good if someone can check macOS 
10.14 or macOS 10.15.

-------------

Commit messages:
 - Initial fix

Changes: https://git.openjdk.java.net/jdk/pull/3707/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3707&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8264786
  Stats: 24 lines in 4 files changed: 9 ins; 9 del; 6 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3707.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3707/head:pull/3707

PR: https://git.openjdk.java.net/jdk/pull/3707

Reply via email to