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

Define ConstructorParameters annotation type for MXBeans

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b92
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        MXBean currently supports model-specific types annotated with
        java.beans.ConstructorProperties that is tightly coupled with
        the client API. A MXBean developer will likely want to avoid
        using java.beans.ConstructorProperties if it ends up in the
        desktop module that their code doesn't want to pull in. In
        that case, the code has to write to achieve the same effort
        by defining the from(CompositeData) method.

        Suggestion from Eamonn McManus [1]:
        Allow ConstructorProperties annotations from any package

        [1] http://mail.openjdk.java.net/pipermail/jmx-dev/2012-September/000077.html

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jbachorik Jaroslav Bachorík
                Reporter:
                jbachorik Jaroslav Bachorík
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Due:
                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: