-
Type:
CSR
-
Resolution: Approved
-
Priority:
P4
-
Component/s: client-libs
-
None
-
low
-
Although code is being removed it is not code that matters any more. There is only ever one AppContext.
-
Java API
-
SE
Summary
References in the SystemTray API to the obsolete internal Application Context are removed.
Problem
AppContext is an internal mechanism that was used for per-applet isolation In some cases this (largely unnecessarily, and perhaps incorrectly) bubbled into API docs.
Solution
Since AppContext is being removed, the API mentions are definitely no longer needed and should be removed.
Specification
public class java/awt/SystemTray
- * The {@code listener} listens to property changes only in this context.
public synchronized void addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
- * The {@code PropertyChangeListener} must be from this context.
public synchronized void removePropertyChangeListener(String propertyName,
PropertyChangeListener listener);
- * Only the listeners in this context are returned.
public synchronized PropertyChangeListener[] getPropertyChangeListeners(String propertyName)
``
- csr of
-
JDK-8376992 Remove AppContext from SystemTray implementation
-
- Resolved
-