Puzzling warnings during javadoc generation

Project:JNode All
Component:Miscellaneous
Category:bug report
Priority:minor
Assigned:Unassigned
Status:active
Description

We've recently been seeing warnings like the following in the build logs. They appear to be harmless, but it would be nice to figure out what javadoc is complaining about.

[javadoc] java/lang/Throwable.class(java/lang:Throwable.class): warning: Cannot find
          annotation method 'name()' in type 'org.jnode.annotation.MagicPermission'

#1

Usually this message is caused by dependencies caused by annotations, the message is a harmless warning, and it's simply telling you the annotation class that was compiled into this class is currently not found.

If you want the warning to go away, change the classpath so the annotation is found.