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

Remove Permission details from jcmd man page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • None
    • core-svc
    • None

      The jcmd man page documents Permissions for some commands.
      e.g.
      Permission: java.lang.management.ManagementPermission(monitor)

      The page does not say when these are enforced (when the Security Manager is active, e.g. if the SM is enabled with a policy to control remote JMX access). Usage information would have been suited to another location, such as the Monitoring and Management guide perhaps.

      Due to the the upcoming Security Manager removal (see JEP 411), this information is no longer useful and should be removed.

      If there is a replacement feature, new documentation should be added.

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

              Created:
              Updated:
              Resolved: