RFR: JDK-8239575: javadoc triggers javac AssertionError for annos on modules
Jonathan Gibbons
jonathan.gibbons at oracle.com
Tue Mar 3 22:26:54 UTC 2020
+1
Very nice
-- Jon
On 03/03/2020 05:46 AM, Jan Lahoda wrote:
> 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
More information about the javadoc-dev
mailing list