eirikbakke commented on a change in pull request #652:
URL: https://github.com/apache/netbeans/pull/652#discussion_r479935175
##########
File path: openide.awt/src/org/openide/awt/ContextAction.java
##########
@@ -168,10 +297,17 @@ public boolean equals(Object obj) {
}
return false;
}
-
- static class Performer<Data> {
+
+ private static final Reference<Object> NONE = new WeakReference<>(null);
+
+ static class Performer<Data> implements ChangeListener {
final Map delegate;
-
+ Reference<ContextAction> owner;
+ Reference<Object> instDelegate = null;
+ StatefulMonitor enabler = null;
+ ChangeListener weakEnableListener;
+ PropertyChangeListener weakActionListener;
Review comment:
Where is this initialized?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists