Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7193302

Remove @ConstructorProperties annotation from java.lang.management.LockInfo

XMLWordPrintable

    • b58
    • generic
    • generic
    • Not verified

      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.

            mchung Mandy Chung (Inactive)
            mchung Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: