RFR: 8332124: Jcmd should recognise options that look like requests for help [v7]

Sonia Zaldana Calles szaldana at openjdk.org
Thu Jul 4 14:43:49 UTC 2024


> Hi all, 
> 
> This PR addresses [8332124](https://bugs.openjdk.org/browse/JDK-8332124) enabling jcmd to recognize options that look like help. 
> 
> Testing: 
> - [x] Added test case passes. 
> 
> Thanks, 
> Sonia

Sonia Zaldana Calles has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 12 additional commits since the last revision:

 - Merge branch 'openjdk:master' into JDK-8332124
 - Updates based on feedback. Moving resource mark, updating commets and test
 - Updating comments
 - Enabling -help to work as well. Updating test cases
 - Making enabling help more restrictive. Will not accept -help
 - Enabling only -h or --help. Also modifying test case
 - Updating copyright header
 - Modifying usage to --help and -help. Updated ensuing test case to test both
 - Updating copyright headers
 - Merge branch 'openjdk:master' into JDK-8332124
 - ... and 2 more: https://git.openjdk.org/jdk/compare/b88504b2...6b52c091

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/19776/files
  - new: https://git.openjdk.org/jdk/pull/19776/files/56203e57..6b52c091

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

  Stats: 16108 lines in 491 files changed: 10293 ins; 3852 del; 1963 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