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.
Node.LookupEventList.init() calls allItems() unnecessarily, forcing things to be instantiated that don't need to be.
Created attachment 8045 [details] 1 line patch eliminating the call to allItems()
FYI, I've been running my development copy of NB with this patch for several months with no problem. Any reason not to integrate it? It looks like the call to allItems() was probably test code someone forgot to delete, and it does force instantiation of a bunch of things that may never be used.
According to the automated tests this is wrong. Should you run tests on your patch you will immediately see that NodeLookupTests starts failing.
verifying.