RFR: 8305622: Remove Permission details from jcmd man page
Chris Plummer
cjplummer at openjdk.org
Wed Apr 5 22:04:15 UTC 2023
On Wed, 5 Apr 2023 21:00:55 GMT, Kevin Walls <kevinw at openjdk.org> wrote:
> Removal of the Permission information from the jcmd man page.
>
> This information is not useful in the way it is presented, and is not used in connection with jcmd, so should be removed from that man page.
>
> The Permissions can be relevant when connecting remotely to JMX with a Security Manager in place. That usage is clearly deprecated with JEP 411. If there is a transition feature, it will be documented elsewhere.
I ran jconsole, selected MBeans -> com.sun.management -> DiagnosticCommand -> Operations, and it shows the list of DCMDs (what we normally see as jcmds). I clicked on one and it has a `dcmd.permissionName` field with the permission in it. Is this an example of using JMX where you feel showing the permission is the right thing to do.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13363#issuecomment-1498211955
More information about the serviceability-dev
mailing list