File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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: 42965
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
It's not a secret anymore!