Intended usage of `java --dry-run`?

Alan Bateman Alan.Bateman at oracle.com
Wed Apr 12 14:22:44 UTC 2017


On 11/04/2017 17:13, Andrew Guibert wrote:

> :
>
> Thanks for clarifying Alan.  I misunderstood the use case of --dry-run 
> to be
> that it did not require any main class, but instead the point is to *load*
> but not *execute* the main class.  Perhaps this would be worth 
> clarifying in
> the option description?
>

The current usage for this option does include "create VM but do not 
execute main method". I guess we could adjust this a bit to make it 
explicit that the main class is loaded but the main method is not executed.

-Alan


More information about the jigsaw-dev mailing list