RFR(xxxs): 8203014: jcmd should output command list if no command is given

serguei.spitsyn at oracle.com serguei.spitsyn at oracle.com
Sun May 13 09:36:57 UTC 2018


Hi Thomas,

The fix looks good.
However, I agree with David, this need a CSR.

Thanks,
Serguei

On 5/12/18 01:08, Thomas Stüfe wrote:
> Hi,
>
> may I have reviews for this very small improvement?
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8203014
> Webrev: http://cr.openjdk.java.net/~stuefe/webrevs/8203014-jcmd-list-commands-if-no-command-given/webrev.00/webrev/
>
> When jcmd is invoked with valid target VM id(s) but without command,
> the generic help text is output. It would be more convenient if the
> target VM would output a list of available commands.
>
> In other words, "jcmd <target vm>" should behave like "jcmd <target vm> help".
>
> Thanks, Thomas



More information about the serviceability-dev mailing list