Actions
Bug #7019
closedcloning problems in NamedObj and AtomicActor
Start date:
05/03/2016
Due date:
% Done:
90%
Estimated time:
Bugzilla-Id:
Description
I'm attaching a patch to fix cloning issues in NamedObj.java:
// Since _debugListeners is null, _debugging should be
// false to avoid error message in _debug()
and AtomicActor.java:
// When super.clone() is called below, attributes that are
// contained in this actor are also cloned, which includes
// calling methods on these attributes such as setContainer().
// These methods may add themselves to the firing listeners
// or initializables lists in the newObject clone, so we do
// not want to clear these lists in newObject after super.clone().
// Instead, save this instance's lists here and restore them after
// call super.clone().
Files
Actions