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

MandatoryWarningHandler.java contains implementation of Object.equals functionality

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 14
    • 14
    • tools
    • None
    • b03

      The javac class MandatoryWarningHandler.java contains a local copy of of the logic of the two-argument Objects.equals method. As a refactoring, the library code should be used instead.

      The method is named "equal" rather than "equals" and escaped previous passes to replace such local methods (JDK-7041136).

            darcy Joe Darcy
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: