Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Strange behavior of javadoc with -Xdoclint

 
Rudolf Pecinovsky
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.)
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic