JDK-7193302 : Remove @ConstructorProperties annotation from java.lang.management.LockInfo
  • Type: Bug
  • Status: Closed
  • Resolution: Fixed
  • Component: core-svc
  • Sub-Component: java.lang.management
  • Priority: P3
  • Affected Version: 8
  • OS: generic
  • CPU: generic
  • Submit Date: 2012-08-22
  • Updated Date: 2017-05-17
  • Resolved Date: 2012-09-25
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 Availabitlity Release.

To download the current JDK release, click here.
JDK 8
8 b58Fixed
Related Reports
Relates :  
Relates :  
Relates :  
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 Changeset URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/22d7a9f73a59
2012-09-14

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