Results:
--------------------------------------------------
- User: mkleint
- Date: Fri Jul 12 07:37:23 CEST 2002
- Message: fix empty filesystem after changing projects - issue #22203
on multifilesystems it's not guaranteed that the uderlying filesystem's addNotify and removeNotify methods will be called subsequently
and in the right order. With a simple test I figured that the addNotify is called multiple times (for each treefs on it once)
1. in removeNotify it was attempted to clean up cache too agressively without a counterpart in addNotify, the lost connection resulted in empty filesystem.
fixed by keeping reference ot listener so that the weakListener is not gc-ed.
2. made creation/disposal of versioning filesystem synchronized. Only the blocks that are posted to the request processor.
-
1.84
/cvs/javacvs/src/org/netbeans/modules/cvsclient/NbJavaCvsFileSystem.java
[ Diff ]
-
1.83
/cvs/javacvs/src/org/netbeans/modules/javacvs/JavaCvsFileSystem.java
[ Diff ]