RFR: 8334493: Remove SecurityManager Permissions infrastructure from DiagnosticCommands

Joe Darcy darcy at openjdk.org
Tue Nov 26 23:25:39 UTC 2024


On Mon, 25 Nov 2024 09:51:10 GMT, Kevin Walls <kevinw 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.

Yes; please file a quick CSR. Thanks for asking.

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

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


More information about the serviceability-dev mailing list