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

MandatoryWarningHandler.java contains implementation of Object.equals functionality

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b03

      Description

      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).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: