[ 
https://issues.apache.org/jira/browse/LUCENE-10308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17459093#comment-17459093
 ] 

Uwe Schindler commented on LUCENE-10308:
----------------------------------------

That's explicitly wanted by log4j, because it makes the module info file only 
visible to Java 9+ code. It was added because of complaints by Users where 
classpath scanners and IDEs broke when finding the file.

We had the discussion on the openjdk committer meeting on Fosdem 2 years ago 
with Maven people and the result was that it's the recommendation to only add 
Module-Info.class in the MR part of Jar file for best compatibility. Maven does 
this by default I think.

The issue here is a bug in ecj.

> Make ecj and javadoc run with modular paths
> -------------------------------------------
>
>                 Key: LUCENE-10308
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10308
>             Project: Lucene - Core
>          Issue Type: Sub-task
>            Reporter: Dawid Weiss
>            Priority: Major
>         Attachments: repro.zip
>
>




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to