Hi,

javadoc uses the javac's model to model the source files. But it starts javac in a very special way. As a consequence, if the module that is being documented is load from sources implicitly, it is loaded twice, which then may lead to trouble during annotation processing.

The proposed patch is to change the code to load the module only once.

Proposed webrev: http://cr.openjdk.java.net/~jlahoda/8239575/webrev.00/
JBS: https://bugs.openjdk.java.net/browse/JDK-8239575

How does this look?

Thanks,
     Jan

Reply via email to