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

Only one of Object.equals and Object.hashCode overriden

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • CPU:
      generic
    • OS:
      generic

      Description

      Problems found in Java source code.

      package java.awt.font:

      java/awt/font/TextLine.java 852 Only one of Object.equals and Object.hashCode overriden: missing 'equals'

      package java.awt.image:

      java/awt/image/ComponentColorModel.java 2919 Only one of Object.equals and Object.hashCode overriden: missing 'hashCode'
      java/awt/image/PackedColorModel.java 374 Only one of Object.equals and Object.hashCode overriden: missing 'hashCode'
      java/awt/image/PixelInterleavedSampleModel.java 150 Only one of Object.equals and Object.hashCode overriden: missing 'equals'
      java/awt/image/BandedSampleModel.java 818 Only one of Object.equals and Object.hashCode overriden: missing 'equals'

      package javax.print.attribute:

      javax/print/attribute/EnumSyntax.java 132 Only one of Object.equals and Object.hashCode overriden: missing 'equals'

      package sun.print:

      sun/print/SunAlternateMedia.java 48 Only one of Object.equals and Object.hashCode overriden: missing 'equals'

      Total : 7 issues.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              serb Sergey Bylokhov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Imported:
                Indexed: