This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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

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: 42046
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.)

Ping & DNS - my free Android networking tools app
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Strange behavior of javadoc with -Xdoclint