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.

Bug 37167

Summary: Don't instantiate unloaded TC's during saving of winsys
Product: platform Reporter: Peter Zavadsky <pzavadsky>
Component: Window SystemAssignee: Peter Zavadsky <pzavadsky>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: All   
Issue Type: TASK Exception Reporter:

Description Peter Zavadsky 2003-11-12 14:06:39 UTC
During saving, in PersistenceHandler are
constructing config files, which are passed to
PersistenceManager to provide the save.

During the construction are retrieved all TC's for
each mode, that way are also instantiated the
unloaded (closed) TC's.

This could be avoided by passing just the ID's and
constructing the config files accordingly.

The same applies for groups.

See also issue #37141 and issue #37160.
Comment 1 Peter Zavadsky 2003-11-28 12:19:43 UTC
Fixed in [trunk].

core/windows/../Central.java 1.4
core/windows/../ModeImpl.java 1.11
core/windows/../PersistenceHandler.java 1.8
core/windows/../TopComponentGroupImpl.java 1.4
core/windows/../model/DefaultModeModel.java 1.3
core/windows/../model/DefaultModel.java 1.4
core/windows/../model/DefaultTopComponentGroupModel.java 1.3
core/windows/../model/ModeModel.java 1.3
core/windows/../model/Model.java 1.3
core/windows/../model/TopComponentGroupModel.java 1.3
core/windows/../model/TopComponentSubModel.java 1.4