Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8017796 | 7u45 | Daniel Fuchs | P4 | Closed | Fixed | b01 |
JDK-8015820 | 7u40 | Daniel Fuchs | P4 | Closed | Fixed | b30 |
Description
With an up to date jdk8/tl we are seeing more warnings in jaxp:
## Starting jaxp
Compiling 1881 files for BUILD_JAXP
Updating jaxp/dist/lib/src.zip
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/xerces/internal/util/URI.java:60: warning: [overrides] Class URI overrides equals, but neither it nor any superclass overrides hashCode method
public class URI implements Serializable {
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/xpath/internal/Arg.java:34: warning: [overrides] Class Arg overrides equals, but neither it nor any superclass overrides hashCode method
public class Arg
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/bcel/internal/generic/BasicType.java:67: warning: [overrides] Class BasicType overrides equals, but neither it nor any superclass overrides hashCode method
public final class BasicType extends Type {
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/bcel/internal/generic/LocalVariableGen.java:74: warning: [overrides] Class LocalVariableGen overrides equals, but neither it nor any superclass overrides hashCode method
public class LocalVariableGen
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/bcel/internal/generic/ReturnaddressType.java:69: warning: [overrides] Class ReturnaddressType overrides equals, but neither it nor any superclass overrides hashCode method
public class ReturnaddressType extends Type {
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/xml/internal/utils/URI.java:62: warning: [overrides] Class URI overrides equals, but neither it nor any superclass overrides hashCode method
public class URI implements Serializable
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/xml/internal/dtm/ref/DTMNodeProxy.java:64: warning: [overrides] Class DTMNodeProxy overrides equals, but neither it nor any superclass overrides hashCode method
public class DTMNodeProxy
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/xml/internal/serializer/utils/URI.java:67: warning: [overrides] Class URI overrides equals, but neither it nor any superclass overrides hashCode method
final class URI
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/xerces/internal/xinclude/XIncludeHandler.java:2617: warning: [overrides] Class Notation overrides equals, but neither it nor any superclass overrides hashCode method
protected static class Notation {
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/xerces/internal/xinclude/XIncludeHandler.java:2662: warning: [overrides] Class UnparsedEntity overrides equals, but neither it nor any superclass overrides hashCode method
protected static class UnparsedEntity {
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/AbstractDateTimeDV.java:915: warning: [overrides] Class DateTimeData overrides equals, but neither it nor any superclass overrides hashCode method
static final class DateTimeData implements XSDateTime {
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/PrecisionDecimalDV.java:35: warning: [overrides] Class XPrecisionDecimal overrides equals, but neither it nor any superclass overrides hashCode method
static class XPrecisionDecimal {
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/DecimalDV.java:66: warning: [overrides] Class XDecimal overrides equals, but neither it nor any superclass overrides hashCode method
static class XDecimal implements XSDecimal {
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/VariableRefBase.java:33: warning: [overrides] Class VariableRefBase overrides equals, but neither it nor any superclass overrides hashCode method
class VariableRefBase extends Expression {
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/FunctionCall.java:151: warning: [overrides] Class JavaType overrides equals, but neither it nor any superclass overrides hashCode method
static class JavaType {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
15 warnings
Creating jaxp/dist/lib/classes.jar
## Finished jaxp (build time 00:00:23)
## Starting jaxp
Compiling 1881 files for BUILD_JAXP
Updating jaxp/dist/lib/src.zip
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/xerces/internal/util/URI.java:60: warning: [overrides] Class URI overrides equals, but neither it nor any superclass overrides hashCode method
public class URI implements Serializable {
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/xpath/internal/Arg.java:34: warning: [overrides] Class Arg overrides equals, but neither it nor any superclass overrides hashCode method
public class Arg
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/bcel/internal/generic/BasicType.java:67: warning: [overrides] Class BasicType overrides equals, but neither it nor any superclass overrides hashCode method
public final class BasicType extends Type {
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/bcel/internal/generic/LocalVariableGen.java:74: warning: [overrides] Class LocalVariableGen overrides equals, but neither it nor any superclass overrides hashCode method
public class LocalVariableGen
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/bcel/internal/generic/ReturnaddressType.java:69: warning: [overrides] Class ReturnaddressType overrides equals, but neither it nor any superclass overrides hashCode method
public class ReturnaddressType extends Type {
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/xml/internal/utils/URI.java:62: warning: [overrides] Class URI overrides equals, but neither it nor any superclass overrides hashCode method
public class URI implements Serializable
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/xml/internal/dtm/ref/DTMNodeProxy.java:64: warning: [overrides] Class DTMNodeProxy overrides equals, but neither it nor any superclass overrides hashCode method
public class DTMNodeProxy
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/xml/internal/serializer/utils/URI.java:67: warning: [overrides] Class URI overrides equals, but neither it nor any superclass overrides hashCode method
final class URI
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/xerces/internal/xinclude/XIncludeHandler.java:2617: warning: [overrides] Class Notation overrides equals, but neither it nor any superclass overrides hashCode method
protected static class Notation {
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/xerces/internal/xinclude/XIncludeHandler.java:2662: warning: [overrides] Class UnparsedEntity overrides equals, but neither it nor any superclass overrides hashCode method
protected static class UnparsedEntity {
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/AbstractDateTimeDV.java:915: warning: [overrides] Class DateTimeData overrides equals, but neither it nor any superclass overrides hashCode method
static final class DateTimeData implements XSDateTime {
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/PrecisionDecimalDV.java:35: warning: [overrides] Class XPrecisionDecimal overrides equals, but neither it nor any superclass overrides hashCode method
static class XPrecisionDecimal {
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/DecimalDV.java:66: warning: [overrides] Class XDecimal overrides equals, but neither it nor any superclass overrides hashCode method
static class XDecimal implements XSDecimal {
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/VariableRefBase.java:33: warning: [overrides] Class VariableRefBase overrides equals, but neither it nor any superclass overrides hashCode method
class VariableRefBase extends Expression {
^
/u/alanb/ws/tl/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/FunctionCall.java:151: warning: [overrides] Class JavaType overrides equals, but neither it nor any superclass overrides hashCode method
static class JavaType {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
15 warnings
Creating jaxp/dist/lib/classes.jar
## Finished jaxp (build time 00:00:23)
Attachments
Issue Links
- backported by
-
JDK-8015820 More warnings compiling jaxp
- Closed
-
JDK-8017796 More warnings compiling jaxp
- Closed
- relates to
-
JDK-8005473 Warnings compiling jaxp
- Resolved