United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4949203 : JMX spec: text about invoking getters and setters is wrong

Details
Type:
Bug
Submit Date:
2003-11-05
Status:
Resolved
Updated Date:
2006-01-18
Project Name:
JDK
Resolved Date:
2006-01-18
Component:
core-svc
OS:
generic
Sub-Component:
javax.management
CPU:
generic
Priority:
P5
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:

Related Reports

Sub Tasks

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
PUBLIC COMMENTS

.
                                     
2004-09-01
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
mustang


                                     
2004-09-01
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
                                     
2003-11-05



Hardware and Software, Engineered to Work Together