Community
Participate
Working Groups
Build ID: I20070625-1500 Steps To Reproduce: If an unused method parameter, say, p0, is referenced from within the method's javadoc comment (/** @param p0 */ is enough), Eclipse compiler produces no "The prarameter p0 is never read" warning. More information: I'd consider this a bug rather than a feature since such javadoc comments can be automatically generated by either Eclipse itself or any external facility, which, given the existing compiler behaviour, makes unused parameter hunting more difficult. In case this is relevant: I'm using a GTK2 build on a Linux-IA32 box, JDK is 1.6.0_01, project source level is 1.6.
Similar issue than for bug 190970...
Created attachment 74443 [details] [screen shot] compilation options Checking the default compilation options, the compiler is behaving as expected. In this screen shot you'll notice that the default is to ignore unused parameters when they are documented with a @param tag. If you disable this option (may be at project level), the a warning is raised as expected ("The parameter param is never read")
(In reply to comment #2) Closing as invalid
Thanks guys. I just was misguided since this option is on by default.
Verified for 3.4M1