RFR: 8332124: Jcmd processing should accept the "help" sub option as command argument [v5]

Sonia Zaldana Calles szaldana at openjdk.org
Tue Jul 2 15:21:49 UTC 2024


> Hi all, 
> 
> This PR addresses [8332124](https://bugs.openjdk.org/browse/JDK-8332124) enabling jcmd to accept "help" as an argument to subcommands. 
> 
> Testing: 
> - [x] Verified running `jcmd 4711 VM.metaspace help` works along with other subcommands. 
> - [x] Added test case passes. 
> 
> Thanks, 
> Sonia

Sonia Zaldana Calles has updated the pull request incrementally with one additional commit since the last revision:

  Making enabling help more restrictive. Will not accept -help

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/19776/files
  - new: https://git.openjdk.org/jdk/pull/19776/files/65cab4d3..4e2a4493

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=19776&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19776&range=03-04

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/19776.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19776/head:pull/19776

PR: https://git.openjdk.org/jdk/pull/19776


More information about the serviceability-dev mailing list