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

If remote removeNotificationListener gets SecurityException, client no longer gets notifications

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 6, 9, 10
    • Fix Version/s: 10
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b08
    • CPU:
      generic
    • OS:
      generic

      Description

      If a client using the RMI connector does mbeanServerConnection.removeNotificationListener and the operation fails with an exception (most likely SecurityException) then the connector will continue to send notifications for that listener, but the client will no longer receive them. If removeNotificationListener fails then the client should continue to get notifications, or perhaps it should tell the server not to send notifications for that listener. As it stands, the notifications continue to be sent, but the client listener is not invoked, and the client has no way to remove the server's record of the listener.

        Attachments

          Activity

            People

            Assignee:
            uvangapally Ujwal Vangapally (Inactive)
            Reporter:
            emcmanus Eamonn McManus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: