This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
public CloneableOpenSupport(Env env) {
this.env = env;
Listener l = new Listener(env);
Listener l = new Listener(env, this);
this.allEditors = l;
// attach property change listener to be informed about loosing validity
static final long serialVersionUID = -1934890789745432531L;
/** environment to use as connection to outside world */
private Env env;
private final Env env;
// rerefence to prevent GC of COS created in readResolve() by call to support()
private final transient CloneableOpenSupport refCOS;
/** Constructor.
*/
public Listener(Env env) {
public Listener(Env env, CloneableOpenSupport cos) {
this.refCOS = cos;
}
/** Getter for the associated CloneableOpenSupport