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.
As the buildsystem team claims that any usage Registry is wrong and suggests to exclude any filesystem from it while still keeping data systems for presentation purposes without any reasonable alternative for near future, there seems to be a need to evaluate the impact of such decision and very likely update the data systems to not relly on their filesystems being in repository. Probably by replacing fsname/path pair by URL. The reviewers suggested to workaround this by keeping backward compatibility by maitaining "visible" filesystems in repository, which might solve the most painful problems, but as this does not seem to address all possible issues or it would be a bit more complex to implement rewrite of DS seems necessary.
Repository not Registry I think you mean.
More background in issue #42273.
From searching openide/loaders/src for Repository.getDefault I only see issues with DataShadow (already filed). "Rewrite of DS" is surely an exaggeration since I do not know of any other bugs in DS caused by removing all non-default filesystems from Repository.default; if something was really wrong I think we would have noticed by now.
RepositoryListener is another suspicious piece. It is used from DataObjectPool and its validator. How's that going to work?
Yes, a bunch of stuff can very likely be deleted from DataObjectPool now. AFAIK it harms nothing to stay, just clutter. You don't need a RepositoryListener for anything (ditto fsRemovedFromRepository), and the PropertyChangeListener looks useless too since you are never going to get a changed root or system name for the MasterFS; not sure if this could happen to a JarFileSystem or not.
I will remove obsolete code from DataObjectPool.
DOP was cleaned up a bit: Checking in loaders/src/org/openide/loaders/DataObjectPool.java; new revision: 1.24; previous revision: 1.23 Checking in test/unit/src/org/openide/loaders/DataObjectInvalidationTest.java new revision: 1.16; previous revision: 1.15
Closed, too old