jira-importer commented on issue #859:
URL: 
https://github.com/apache/maven-javadoc-plugin/issues/859#issuecomment-2957357997

   
**[Gili](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=cowwoc)** 
commented
   
   Okay, now we've got a problem. Although JDK 12 contains a fix, it cannot be 
used for maven plugins (which just so happens to affect my use-case).
   * If you invoke `javadoc:jar` on a maven plugin that depends on named 
modules (ones with **module-info.java**) it will fail because of 
https://bugs.openjdk.java.net/browse/JDK-8212233
   * Per MPLUGIN-341 maven plugins cannot contain **module-info.java**.
   
   OpenJDK 11 will not receive any "stability updates" per Oracle policy and 
OpenJDK 12+ won't support mixing modules and non-modules. So (unless I missed 
something) the only solution is very far away (not even planned for 
implementation): MPLUGIN-341
   
   I filed MJAVADOC-562 thinking that passing in **\-source 11** or **--release 
11** might help (the JDK bug report hinted as much), but it did not make a 
difference.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to