-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
8
-
None
When building jdk8 there are a lot of warnings, including a few when compiling the JMX classes. They should be examined as there may be real bugs here.
/u/alanb/ws/tl/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 {
^
/u/alanb/ws/tl/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 {
^
:
/u/alanb/ws/tl/jdk/src/closed/share/classes/com/sun/jmx/snmp/SnmpParameters.java:34: warning: [overrides] Class SnmpParameters overrides equals, but neither it nor any superclass overrides hashCode method
public class SnmpParameters extends SnmpParams implements Cloneable, Serializable {
^
- duplicates
-
JDK-8016592 Clean-up Javac Overrides Warnings In javax/management/NotificationBroadcasterSupport.java
- Closed