Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8328263

JMX Monitor should migrate to storing a Subject, not AccessControlContext

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • 24
    • None
    • core-svc

      The JMX "Monitor" stores an AccessControlContext, which is deprecated for removal, so this needs to change.

      src/java.management/share/classes/javax/management/monitor/Monitor.java can store a Subject instead.

      The current Subject for Monitor execution is set when it is started.
       test/jdk/javax/management/monitor/ThreadPoolAccTest.java has checks on the Subject and Principal in a Monitor.

            kevinw Kevin Walls
            kevinw Kevin Walls
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: