RFR: 8027765 Make exit codes and stdout/stderr printing from jmap/jinfo/jstack/jps consistent

Staffan Larsen staffan.larsen at oracle.com
Wed Nov 13 23:34:09 PST 2013


Still looking for an official Review of this change.

Thanks,
/Staffan

On 11 Nov 2013, at 20:49, Staffan Larsen <staffan.larsen at oracle.com> wrote:

> The contract for the tools should be (similarly from other tools, eg javac):
> 
> If the arguments are wrong or not specified: exit code != 0, usage output on stderr
> If -help or -h is specified: exit code == 0, usage output on stderr
> 
> webrev: http://cr.openjdk.java.net/~sla/8027765/webrev.00/
> bug: https://bugs.openjdk.java.net/browse/JDK-8027765
> 
> Thanks,
> /Staffan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20131114/d9494ee0/attachment.html 


More information about the serviceability-dev mailing list