dweiss opened a new issue, #14941: URL: https://github.com/apache/lucene/issues/14941
### Description This is tricky. While working on #14933 I noticed that compilation passes in in-process mode but fails when external javac is used. This is caused by one of the jar files declaring classpath entries in the manifest - these are not declared in the maven descriptor so they're not placed on classpath for compilation. The result is that javac fails when -Xlint:path is used. Here is a simple repro: ``` $ wget https://repo1.maven.org/maven2/org/carrot2/morfologik-tools/1.10.0/morfologik-tools-1.10.0.jar $ echo > "public class Test {}" > Test.java $ javac -cp morfologik-tools-1.10.0.jar Test.java $ javac -Werror -Xlint:path -cp morfologik-tools-1.10.0.jar Test.java warning: [path] bad path element "/Users/dweiss/tmp/morfologik-fsa-1.10.0.jar": no such file or directory warning: [path] bad path element "/Users/dweiss/tmp/hppc-0.6.1.jar": no such file or directory warning: [path] bad path element "/Users/dweiss/tmp/morfologik-stemming-1.10.0.jar": no such file or directory warning: [path] bad path element "/Users/dweiss/tmp/morfologik-polish-1.10.0.jar": no such file or directory warning: [path] bad path element "/Users/dweiss/tmp/commons-cli-1.2.jar": no such file or directory warning: [path] bad path element "/Users/dweiss/tmp/commons-lang-2.6.jar": no such file or directory error: warnings found and -Werror specified 1 error ``` -- 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: issues-unsubscr...@lucene.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org