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

MonitorNotification should have a public constructor

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b43
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Description

      The class javax.management.monitor.MonitorNotification has no visible constructors. Instance of this class are constructed by the Monitor Service only. Adding a public constructor would be desirable for a couple of reasons:
      * It would allow reimplementations of the Monitor Service outside the package javax.management.monitor.
      * It would simplify the code of connectors (e.g. XML-based) that need to deserialize an instance of MonitorNotification. (Connectors such as the RMI connector that are based on Java serialization are not affected.)

        Attachments

          Activity

            People

            Assignee:
            jfdenise Jean-Francois Denise (Inactive)
            Reporter:
            emcmanus Eamonn McManus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: