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

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