Review request: JDK-8159596 Add java --dry-run
Paul Benedict
pbenedict at apache.org
Mon Jun 27 16:20:24 UTC 2016
Mandy, if I may recommend another suggestion, another "sanity" check could
be dumping the command line arguments. I know quite a few bash programmers
who would really love to see they passed their arguments correctly without
executing their program. :-)
Cheers,
Paul
On Mon, Jun 27, 2016 at 10:48 AM, Raymond Gallardo <
raymond.gallardo at oracle.com> wrote:
> Hi Mandy,
>
> Does this enhancement need to be doc'd? If so, could you add a subtask
> (component = docs)?
>
> Thanks,
> --Raymond
>
> On 24/06/2016 9:49 AM, Mandy Chung wrote:
>
>> Webrev:
>> http://cr.openjdk.java.net/~mchung/jdk9/webrevs/8159596/webrev.00/
>>
>> `java --dry-run` will create the VM, load the main, locate the static
>> void main method, and exit (with 0) instead of executing the method. As
>> all module options are processed and the boot layer is created, this would
>> be useful to sanity check the options and detect possible issues.
>>
>> Mandy
>>
>>
>
More information about the jigsaw-dev
mailing list