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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: