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.
They are deprecated for long time and replaced by appropriate factory methods in WeakListener. Let's remove them. I think there is a need to rewrite something in filesystems, because they seem to use on of the subclasses of the WeakListener, probably possible to directly subclass WeakListener itself.
The subclassing is quite unnecessary, could use e.g. WeakSet instead.
More serious is how to remove the specific factory methods and use create() uniformly. We can get rid of static inner classes, but not methods. operation() for example, which will make it impossible to delete org.openide.loaders from the APIs. The only solution I can think of is to move all of WeakListener to openide-deprecated.jar, and create a copy of the class with a different name that would contain only the general create() method.
Use bytecode patching. Create WeakListenerPatch with all methods that you want to remove from WeakListener and during Nb runtime change WeakListener's superclass. I thought this works just for non static methods but it seems to work also for static ones. Surprise, surprise. I suggest to go that way.
WeakListener made deprecated and replaced by WeakListeners factory class without innerclasses.