Details
-
Bug
-
Resolution: Fixed
-
P4
-
None
-
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 {
^
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
- duplicates
-
JDK-8016452 Warnings compiling JMX classes due to missing hashCode method
-
- Resolved
-