This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Features new in Java 8 and the fly likes Strange behavior of javadoc with -Xdoclint Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Features new in Java 8
Bookmark "Strange behavior of javadoc with -Xdoclint" Watch "Strange behavior of javadoc with -Xdoclint" New topic

Strange behavior of javadoc with -Xdoclint

Rudolf Pecinovsky

Joined: Aug 18, 2003
Posts: 4
When i translated a program with parameter -Xdoclint,
the compiler sent warnings announcing
that variables local in static initializer have no document comments.
It complained even when I added them the asked document comments.

How should I correct the program to eliminate these warnings?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42956
Can you post an SSCCE that demonstrates this behavior? Is this behavior new when using Java 8? (I'm asking because you posted in the "Features new in Java 8" forum.)
I agree. Here's the link:
subject: Strange behavior of javadoc with -Xdoclint
jQuery in Action, 3rd edition