RFR: 8334493: Remove SecurityManager Permissions infrastructure from DiagnosticCommands

Kevin Walls kevinw at openjdk.org
Mon Nov 25 09:54:15 UTC 2024


On Sat, 23 Nov 2024 06:37:23 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> This is a change to the spec of a JDK specific API so I think should be tracked by a CSR.

OK yes, I was looking for opinions on whether this needed a CSR.

To be clear, the interface jdk.management / com.sun.management.DiagnosticCommandMBean
has a method getDescriptor() which returns a Descriptor, which
"is a collection of fields containing additional meta-data for a JMX element".

This unfortunately does not say any of the metadata are optional, so now that a 
permission is meaningless we want to remove dcmd.permissionName, dcmd.permissionAction, dcmd.arguments.

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

PR Comment: https://git.openjdk.org/jdk/pull/22315#issuecomment-2497457131


More information about the serviceability-dev mailing list