JDK-4949203 : JMX spec: text about invoking getters and setters is wrong
  • Type: Bug
  • Component: core-svc
  • Sub-Component: javax.management
  • Affected Version: 6
  • Priority: P5
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2003-11-05
  • Updated: 2006-01-18
  • Resolved: 2006-01-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 betaFixed
Description
The JMX 1.2 specification document is supposed to clarify, per the Maintenance Review change list, that getters and setters in a Standard MBean cannot be invoked through MBeanServer.invoke.  But the text to this effect erroneously appears in the section about Dynamic MBeans (bottom of p42).  It should obviously be in the section about Standard MBeans, e.g. on p40.

Also, this text mentions the property "jmx.invoke.getters".  Since it appears in the spec, one might conclude that an implementation is required to respect this property.  But that's not what was stated during the Maintenance Review and it's not what was intended.  Rather, this property is a feature of the Reference Implementation to ease the transition for code that may have incorrectly relied on being able to invoke getters before.  So it should appear in the Release Notes of the RI, not in the spec.  Having such a property is a violation of compatibility rules so it will be phased out in the future.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mustang
01-09-2004

PUBLIC COMMENTS .
01-09-2004

EVALUATION Should make change as described. But it will be in the next version of JMX, so in the J2SE 1.6 timeframe. ###@###.### 2003-11-05
05-11-2003