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

Remove the allowNonPublic MBean compatibility property

XMLWordPrintable

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


      The System Property "jdk.jmx.mbeans.allowNonPublic" was added with JDK-8010285, to optionally be compatible with a time before JDK-8, when Management Interfaces being public was not enforced.

      From JDK-8010285:
      ----
      The system property "jdk.jmx.mbeans.allowNonPublic" is used to revert to the old behaviour allowing non-public management interfaces. This property is considered to be transitional and will be removed in the subsequent releases.
      ----

      That was a long time ago. This compatibility convenience flag should be removed.

      Removing old obscure properties helps simplify the platform.

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

              Created:
              Updated: