United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-4796780 MLetContent class should be public
JDK-4796780 : MLetContent class should be public

Details
Type:
Bug
Submit Date:
2002-12-20
Status:
Resolved
Updated Date:
2005-02-19
Project Name:
JDK
Resolved Date:
2005-02-19
Component:
core-svc
OS:
generic
Sub-Component:
javax.management
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:

Related Reports
Relates:

Sub Tasks

Description
One of the changes specified for JMX 1.2 was that the MLet.check
method should be made protected so it could be overridden in
subclasses of MLet.  This is bug 4619509, also 4716826 ("Implement
VERSION tag in MLet").  A necessary part of this fix was that
the MLetContent class needed to be made public.

The consequence of this bug is that the JMX API is inconsistent, in
that a publicly-visible method references a non-visible class.  Though
the documentation says you can override this method, in practice you
can't.  The change is rendered useless by this problem.  Also, the
specification is inconsistent with the Change Log for the 1.2 MR,
which says the class is public.

This also leaves us in an awkward position as regards independent
implementors, who will be obliged to add an unspecified MLetContent
class to their implementations in order to be signature compatible.

                                    

Comments
EVALUATION

This implies an incompatible API change. So in theory this will
only be possible either with a MR of JMX (1.3), or J2SE 1.6.
###@###.### 2003-03-05

MR of the JMX API is not possible because of required compatibility with J2EE 1.4.  So committing for Mustang.
###@###.### 2004-02-10
                                     
2003-03-05
PUBLIC COMMENTS

JMX 1.2 change log says MLetContent class should be public but it is not.
This makes the API inconsistent, because a publicly-visible method
MLet.check references this not-puhlicly-visible class.
                                     
2004-09-01
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
mustang


                                     
2004-09-01



Hardware and Software, Engineered to Work Together