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

Remove the jmx.tabular.data.hash.map compatibility property

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P4 P4
    • 25
    • core-svc
    • None
    • behavioral
    • minimal
    • Historic and undocumented property for compatibility with JDK 1.3 JMX clients.
    • System or security property
    • Implementation

      Summary

      Remove the System Property "jmx.tabular.data.hash.map" which was introduced historically for JMX compatibility with JDK 1.3 clients.

      Problem

      TabularDataSupport reads a boolean System Property "jmx.tabular.data.hash.map", which can be set true to use HashMap, and not LinkedHashMap. The concern was that JDK 1.3 JMX clients would not have LinkedHashMap. This was considered unlikely at the time (as noted in the source comment), and was not documented.

      This compatibility convenience flag should be removed.

      Solution

      Remove the code that reads the Property "jmx.tabular.data.hash.map", 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: https://github.com/openjdk/jdk/pull/23153

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

              Created:
              Updated:
              Resolved: