Skip to content

Conversation

@RogerRiggs
Copy link
Collaborator

@RogerRiggs RogerRiggs commented Dec 18, 2025

Revert "8366841: [lworld] Objects.equals without identity comparison". (Almost all)
Removing the condition on --enable-preview.
Correct the .equals method in test SimplValueGraphs.SimpleValue.


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change must be properly reviewed (1 review required, with at least 1 Committer)

Issue

  • JDK-8373930: [lworld] Restore Objects.equals use of identity check (Bug - P4)

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/valhalla.git pull/1836/head:pull/1836
$ git checkout pull/1836

Update a local copy of the PR:
$ git checkout pull/1836
$ git pull https://git.openjdk.org/valhalla.git pull/1836/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 1836

View PR using the GUI difftool:
$ git pr show -t 1836

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/valhalla/pull/1836.diff

Using Webrev

Link to Webrev Comment

removing the condition on --enable-preview.
Correct the .equals method of SimplValueGraphs.SimpleValue.
Revert "8366841: [lworld] Objects.equals without identity comparison"
@bridgekeeper
Copy link

bridgekeeper bot commented Dec 18, 2025

👋 Welcome back rriggs! A progress list of the required criteria for merging this PR into lworld will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link

openjdk bot commented Dec 18, 2025

❗ This change is not yet ready to be integrated.
See the Progress checklist in the description for automated requirements.

@openjdk openjdk bot added the rfr Pull request is ready for review label Dec 18, 2025
@mlbridge
Copy link

mlbridge bot commented Dec 18, 2025

Webrevs

@RogerRiggs
Copy link
Collaborator Author

If you are looking for something easy to get started in the new year, consider reviewing this backout restoring Object.equals to its previous implementation.

@RogerRiggs
Copy link
Collaborator Author

/touch

@openjdk
Copy link

openjdk bot commented Jan 6, 2026

@RogerRiggs The pull request is being re-evaluated and the inactivity timeout has been reset.

* @param b an object to be compared with {@code a} for equality
* @see Object#equals(Object)
*/
@ForceInline
Copy link

@ryanhallock ryanhallock Jan 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this still required? I thought the reasoning behind 8368884: #1643 was that equals was too large.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rfr Pull request is ready for review

Development

Successfully merging this pull request may close these issues.

2 participants