Review request: JDK-8159596 Add java --dry-run
Mandy Chung
mandy.chung at oracle.com
Fri Jul 1 05:00:55 UTC 2016
> On Jun 30, 2016, at 9:44 PM, David Holmes <david.holmes at oracle.com> wrote:
>
> I had assumed that initialization was desirable as part of checking that everything was specified correctly. If not then --dry-run would seem to do very little compared to just running -version, and so doesn't really seem to carry its weight.
—dry-run does more than -version. It loads the VM and initializes the module system that loads the set of modules resolved at startup. It then loads the main class. It will report any error detected by the VM or module system initialization.
Mandy
More information about the jigsaw-dev
mailing list