RFR: 8333344: JMX attaching of Subject does not work when security manager not allowed [v18]
Kevin Walls
kevinw at openjdk.org
Tue Jun 18 12:17:46 UTC 2024
On Mon, 17 Jun 2024 20:51:34 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:
>
> braces
Agreed that this is niche and will be short-lived, but I have added some SM-enabled runs with all permission policy for ThreadPoolAccTest.java and StartStopTest.java. These look trivial to add, and will be trivial to remove...
Looking forward to more cleanup when we remove the SM-enabled paths.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19624#issuecomment-2175956243
More information about the serviceability-dev
mailing list