RFR: 8333344: JMX attaching of Subject does not work when security manager not allowed [v17]

Sean Mullan mullan at openjdk.org
Mon Jun 17 19:59:15 UTC 2024


On Mon, 17 Jun 2024 15:59:37 GMT, Kevin Walls <kevinw at openjdk.org> wrote:

>> JMX uses APIs related to the Security Mananger which are deprecated.  Use of AccessControlContext will be removed when Security Manager is removed.
>> 
>> Until then, updates are needed to not require setting  -Djava.security.manager=allow to use JMX authentication.
>
> Kevin Walls has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Remove import

AFAICT, the only test modified in this PR that actually enables a Security Manager is test/jdk/javax/management/security/AuthorizationTest.java. Is that test sufficient to exercise the code changes in this PR when an SM is enabled?

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

PR Comment: https://git.openjdk.org/jdk/pull/19624#issuecomment-2174313063


More information about the serviceability-dev mailing list