United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6694049 Document that some types of query are only available if the other end is sufficiently recent
6694049 : Document that some types of query are only available if the other end is sufficiently recent

Details
Type:
Enhancement
Submit Date:
2008-04-25
Status:
Closed
Updated Date:
2010-07-29
Project Name:
JDK
Resolved Date:
2008-11-13
Component:
core-svc
OS:
generic
Sub-Component:
javax.management
CPU:
generic
Priority:
P3
Resolution:
Duplicate
Affected Versions:
6
Fixed Versions:
7

Related Reports
Duplicate:

Sub Tasks

Description
The set of available standard JMX queries (javax.management.QueryExp) has expanded slightly over time.  The original set was defined in version 1.0 of the JMX API, way back in 2000.  It remained unchanged through to 1.2, which was included with Java SE 5.0.

In Java SE 6 we added Query.isInstanceOf, which is documented with a @since tag.

In version 2.0 of the JMX API, we're including the ability to use dotted attribute expression like A.b.c, with the same meaning as for monitors (see javax.management.monitor).  We need to document clearly that this capability is not available if you are connected to a remote agent that has an earlier version of the JMX API.

                                    

Comments
EVALUATION

Fixed while adding JMX.getSpecificationVersion.
                                     
2008-11-13
EVALUATION

This should at least be mentioned in Query.attr and in AttributeValueExp.getAttribute.  We should probably also add something to the introductory text for the Query class that mentions the possible interoperation problems for dotted attribute expressions and for isInstanceOf.
                                     
2008-04-25



Hardware and Software, Engineered to Work Together