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

Remove the jmx.mxbean.multiname compatibility property

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P4 P4
    • 25
    • core-svc
    • None
    • behavioral
    • minimal
    • Removal of obscure and very old, undocumented property.
    • System or security property

      Summary

      Remove the System Property jmx.mxbean.multiname which was introduced in JDK-7 for compatibility with code which may have depended on previous incorrect behaviour. Removal is long overdue.

      Problem

      The System Property jmx.mxbean.multiname which was introduced in JDK-7 with JDK-6602326. It may have been helpful when code depended on existing problematic behaviour, relating to multiple registrations of an MXBean object. This property does not appear to be documented except in the bug database and CCC request to make the change.

      Solution

      Remove the code that reads the System Property jmx.mxbean.multiname, the conditions related to it, and update tests.

      New behaviour will be the same as current behaviour with the property unset.

      Specification

      No specification change. Property is not documented in the JDK.

      Github PR for reference: https://github.com/openjdk/jdk/pull/23131

            kevinw Kevin Walls
            kevinw Kevin Walls
            Alex Menkov, Serguei Spitsyn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: