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

Records: Details of implicitly declared equals method has been superseded in implementation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 16
    • 15
    • specification
    • None
    • b28

    Description

      The draft specification for the implicitly declared `equals` method for record classes is incorrect when dealing with primitive types (specifically around equality of `NaN`). The implementation has already been changed. The specification needs updating to match the implementation.

      Also removing stale text in 1.5 describing records as a preview feature.

      Attachments

        Issue Links

          Activity

            People

              gbierman Gavin Bierman
              gbierman Gavin Bierman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: