diff --git a/docs/manual/CoreTasks/javadoc.html b/docs/manual/CoreTasks/javadoc.html index 3b841eb36..5414ab5a8 100644 --- a/docs/manual/CoreTasks/javadoc.html +++ b/docs/manual/CoreTasks/javadoc.html @@ -62,6 +62,13 @@ any VM of at least version 1.2 is acceptable. JDK 1.1 is no longer supported. If you specify the executable attribute it is up to you to ensure that this command supports the attributes you wish to use.

+

Note:
When generating the JavaDocs for classes which contains annotations +you maybe get a java.lang.ClassCastException: com.sun.tools.javadoc.ClassDocImpl. +This is due bug-6442982. The cause is that JavaDoc cannot find the implementations of used annotations. +The workaround is providing the jars with these implementations (like JAXBs @XmlType, ...) +to <javadoc> using classpath, classpathref attributes or nested +<classpath> element.

+

Parameters