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.
x
This problem was introduced by fix of issue #101700. When we stop removing closed non persistent TCs from model it is necessary to filter non persistent TCs during winsys save. Problem is that TC persistence type can be found only from TC instance so when TC is gc'ed we cannot find out TC persistence type. So we have to introduce new set for non persistent TC Ids. Separately for PERSISTENCE_ONLY_OPENED and PERSISTENCE_NEVER as we need to distinguish case when TC is opened or closed in case of PERSISTENCE_ONLY_OPENED. Then this info can be used to filter non persistent TCs and then empty non permanent Modes when winsys is saved. Modified: /cvs/core/windows/src/org/netbeans/core/windows/PersistenceHandler.java new revision: 1.57; previous revision: 1.56 /cvs/core/windows/src/org/netbeans/core/windows/persistence/PersistenceManager.java new revision: 1.53; previous revision: 1.52