RFR: 8027765 Make exit codes and stdout/stderr printing from jmap/jinfo/jstack/jps consistent
Staffan Larsen
staffan.larsen at oracle.com
Mon Nov 11 11:49:22 PST 2013
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/20131111/8d8b2b8d/attachment.html
More information about the serviceability-dev
mailing list