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

Remove the jmx.remote.x.buffer.size JMX notification property

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P4 P4
    • 25
    • core-svc
    • None
    • behavioral
    • minimal
    • Removal of support for an undocumented variation of a System and JMX Property name.
    • System or security property
    • Implementation

      Summary

      Remove "jmx.remote.x.buffer.size" as a System Property and a JMX environment property. The correct name was always "jmx.remote.x.notification.buffer.size" and was correct from JDK 6, but the alternate name was recognised to aid compatibilty.

      Problem

      Used as a System Property and a JMX Environment setting, jmx.remote.x.buffer.size was a previous and incorrect name for the jmx.remote.x.notification.buffer.size property.
      The old name was recognised to aid compatibility. This relates do:

      6174229: Environment parameter should be notification.buffer.size instead of buffer.size Fixed in JDK 6, in 2004, and also in JDK 5u6.

      We should only recognise the correct name at this point.

      Solution

      Remove the code that reads the Property "jmx.remote.x.buffer.size", 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/23145

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

              Created:
              Updated:
              Resolved: