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

Clean-up Javac Overrides Warnings In javax/management/NotificationBroadcasterSupport.java

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 8
    • None
    • core-svc
    • b96
    • Not verified

    Description

      When building jdk source code, the build log shows the following javac overrides warnings from NotificationBroadcasterSupport.java file.

      jdk/src/share/classes/javax/management/NotificationBroadcasterSupport.java:278: warning: [overrides] Class ListenerInfo overrides equals, but neither it nor any superclass overrides hashCode method
          private static class ListenerInfo {
                         ^

      /jdk/src/share/classes/javax/management/NotificationBroadcasterSupport.java:303: warning: [overrides] Class WildcardListenerInfo overrides equals, but neither it nor any superclass overrides hashCode method
          private static class WildcardListenerInfo extends ListenerInfo {
                         ^

      Attachments

        Issue Links

          Activity

            People

              dxu Dan Xu (Inactive)
              dxu Dan Xu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: