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

MonitorNotification should have a public constructor

XMLWordPrintable

    • b43
    • generic
    • generic
    • Not verified

      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.)

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: