For those who would like to run FindBugs against Grizzly, here's
instructions on how to add the FindBugs plug-in to NetBeans 5.0,
NetBeans 5.5 and NetBeans 5.5.1. I don't think this plug-in will work
with NetBeans 6.0. The underlying Java editor meta-data model was
changed in NetBeans 6.0.
Instructions can be found here:
http://blogs.sun.com/charliebrown/entry/how_to_find_install_findbugs
This will put a red FindBugs icon in your NetBeans toolbar. Build
grizzly and then click on the red icon to run FindBugs. You should get
a FindBugs output window at the bottom of the screen with things it
found. If you expand each one of them, you'll see there's a description
of the potential issue it found along with the class it's in and the
line number. If you click on the the line that has the line number,
(i.e. At Controller.java [line 395]), If you click on the piece of text
in the FindBugs output window, it will automatically take you to that
line of source code in the editor.
Fwiw, we have a few (62) potential issues to look at in the grizzly
framework jar. :-) They're not all bugs, they're something we should
look at.
charlie ...
--
Charlie Hunt
Java Performance Engineer
630.285.7708 x47708 (Internal)
<http://java.sun.com/docs/performance/>