United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7193302 Remove @ConstructorProperties annotation from java.lang.management.LockInfo
JDK-7193302 : Remove @ConstructorProperties annotation from java.lang.management.LockInfo

Details
Type:
Bug
Submit Date:
2012-08-22
Status:
Closed
Updated Date:
2014-01-15
Project Name:
JDK
Resolved Date:
2012-09-25
Component:
core-svc
OS:
generic
Sub-Component:
java.lang.management
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
8
Fixed Versions:

Related Reports
Relates:
Relates:
Relates:

Sub Tasks

Description
java.lang.management.LockInfo has a dependency on java.beans.ConstructorProperties
which is undesirable.

LockInfo is annotated with @ConstructorProperties so that a JMX client can access
ThreadMXBean and LockInfo statically rather than via JMX open type and CompositeData
(see javax.management.MXBean spec).

The dependency to java.beans can be removed and add a new static from(CompositeData)
method in LockInfo conforming to the MXBean specification.

                                    

Comments
EVALUATION

Dependency to java.beans should be eliminated for jdk modularization.
                                     
2012-08-22
EVALUATION

Changeset URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/22d7a9f73a59
                                     
2012-09-14
URL:   http://hg.openjdk.java.net/jdk8/build/jdk/rev/22d7a9f73a59
User:  katleman
Date:  2012-09-27 06:14:08 +0000

                                     
2012-09-27



Hardware and Software, Engineered to Work Together