RFR: 8376992: Remove AppContext from SystemTray implementation

Sergey Bylokhov serb at openjdk.org
Tue Feb 3 20:01:38 UTC 2026


On Mon, 2 Feb 2026 20:07:03 GMT, Phil Race <prr at openjdk.org> wrote:

> Remove AppContext from java/awt/SystemTray

src/java.desktop/share/classes/java/awt/SystemTray.java line 317:

> 315:      */
> 316:     public TrayIcon[] getTrayIcons() {
> 317:         if (icons != null) {

This looks like a synchronization bug. Previously, it seemed to be synced via the app context.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29531#discussion_r2760760956


More information about the client-libs-dev mailing list