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

Typo in @NotificationInfos spec

    Details

    • Subcomponent:
    • Introduced In Version:
      7
    • Resolved In Build:
      b43
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      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

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: