[kepler-dev] IOPortEvent bug

Daniel Crawl crawl at sdsc.edu
Fri Feb 22 10:40:23 PST 2008

Hi Colin,

The cloned IOPort's listener list should be set to null. Since
Kepler CVS no longer has a separate copy of IOPort.java, could
someone make this change in ptII CVS?



Colin Enticott wrote:
> Hi all,
> I was having trouble with my code and I have narrowing it down to
> IOPortEvents feature.  There appears to be a bug in the IOPort class with
> IOPortEvent feature and cloning.  It looks like if there has been an
> IOPortEventListener added, when it is cloned, all the clones will have a
> reference to the same listener list.  I guess the list itself should be
> cloned or the clone's list reference should be set back to null.
> It is possible if someone could have a look at this?
> Thanks,
> Colin
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at ecoinformatics.org
> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev

More information about the Kepler-dev mailing list