JDK-6344759 : JMX spec should mandate more clearly the 12 javax.management.*Exp private classes
  • Type: Bug
  • Component: core-svc
  • Sub-Component: javax.management
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2005-11-02
  • Updated: 2017-05-16
  • Resolved: 2005-12-21
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 b63Fixed
Related Reports
Relates :  
Description
The relevant classes are:

javax.management.AndQueryExp
javax.management.BetweenQueryExp
javax.management.BinaryOpValueExp
javax.management.BinaryRelQueryExp
javax.management.BooleanValueExp
javax.management.ClassAttributeValueExp
javax.management.InQueryExp
javax.management.MatchQueryExp
javax.management.NotQueryExp
javax.management.NumericValueExp
javax.management.OrQueryExp
javax.management.QualifiedAttributeValueExp

A JavaSE licensee must have them on board to provide interoperability but the current javadoc only lists them by their serial form; it is not enough to get them in the radar screen of licensees.

Comments
EVALUATION Spec for the various static Query.* methods should say for each one that it returns an object that is serialized as the appropriate class. For example something like this: /** * ... * @return The conjunction of the two arguments. The returned object * will be serialized as an instance of the non-public class {@link * <a href="../../serialized-form.html#javax.management.AndQueryExp"> * javax.management.AndQueryExp</a>}. */ public static QueryExp and(QueryExp q1, QueryExp q2) {...} An implementation is free to return any QueryExp it likes provided that it serializes as an AndQueryExp.
02-11-2005