Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8
    • Component/s: xml
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b91

      Backports

        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)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dfuchs Daniel Fuchs
                  Reporter:
                  alanb Alan Bateman
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: