dweiss commented on pull request #572:
URL: https://github.com/apache/lucene/pull/572#issuecomment-1001992834


   Sorry - update - I know why. Java itself places all these modules in the 
root set when you're starting a class from classpath mode. So the test launcher 
(started as a classpath-main class) will bring in all these other modules. 
Confirmed by running a stand-alone simple example. 
   
   ```
   # limited root set
   java --module-path lib;mod --show-module-resolution --add-modules 
ALL-MODULE-PATH --module mod/test.Test
   # full classpath-mode root set.
   java --module-path lib;mod --show-module-resolution --add-modules 
ALL-MODULE-PATH --classpath mod test.Test
   ```


-- 
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to