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

Typo in @NotificationInfos spec

    XMLWordPrintable

Details

    • 7
    • b43
    • generic
    • generic
    • Not verified

    Description

      ###@###.### writes:
      The following example will not compile:

      @NotificationInfos(
                @NotificationInfo(
                        types = {AttributeChangeNotification.ATTRIBUTE_CHANGE},
                        notificationClass = AttributeChangeNotification.class),
                @NotificationInfo(
                        types = {JMXConnectionNotification.OPENED,
                                     JMXConnectionNotification.CLOSED},
                        notificationClass = JMXConnectionNotification.class)
       )

      unless "{}" brackets are inserted.

      Attachments

        Activity

          People

            emcmanus Eamonn McManus
            emcmanus Eamonn McManus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: