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.
In a WizardDescriptor.Panel, the addChangeListener() can be called without ever having the removeChangeListener() called. This occurs if you cancel the wizard instead of completing it normally. While this wouldn't normally be a problem, it could be if the Panels are reused (that would be at least a memory leak).
Target milestone -> 3.3
It is partialy fixed in dev20010920. It doesn't fix cases when new closing options are provided from outside. It seems that complete fix requires bigger changes.
This won't be fixed in 3.3 bcs it needs wizard redesign. If it blocks other bugs from being solved then change milestone back and increase priority, please.
assing to openide/wizard owner.
The processing of WizardDescriptor has been changed a lot in promoD, the the property change listeners should be removed by WD. The test org.openide.InstantiatingIteratorTest.class/testAddCleanChangeListenerAfterCancel covers this problem. IMHO I can close as worksforme. John, please reopen if you know any case which fails this contract. Thanks
verified