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.
Class ResourceUtils in module "Sun Java System Application Server Common APIs" contains many bugs reported by findbugs. One bug that is really common is catching Exception - this will catch any exception - do not ever do this. Catch just checked exceptions that can be thrown. In addition catch block in this class usually does nothing - please at least log it. Other thing reported by findbugs is possible null pointer dereference. Please fix it.
Will evaluate and resolve/update for Findbugs issues
This got missed
need to re-evaluate.
Fixed. Improved exception handling. Removed dependency on deprecated ErrorManager. http://hg.netbeans.org/main/rev/533eb9ef1407 The code may require additional refactoring (exception flow is too complicated in some cases)... Petre, please reopen this issue if changes are not sufficient (or file another more specific bug). Thanks!
there is still a large number of bugs found by findbugs...
nitya: please evaluate and resolve some of the issues in this class.
Making a pass of fixing FindBugs issues in the ResourceUtils class as part of changes for Milestone1.
Assigned wrong milestone, first pass will be done by M1
Couple of scrubs completed. In much cleaner shape