Skip to content

8386578: double_keccak stub does not set its return value on x86#616

Open
missa-prime wants to merge 1 commit into
openjdk:masterfrom
missa-prime:user/missa-prime/sha3
Open

8386578: double_keccak stub does not set its return value on x86#616
missa-prime wants to merge 1 commit into
openjdk:masterfrom
missa-prime:user/missa-prime/sha3

Conversation

@missa-prime

@missa-prime missa-prime commented Jun 16, 2026

Copy link
Copy Markdown

This change ensures that the x86-64 double_keccak intrinsic provides a consistent return value. The missing return value bug is already fixed in main by JDK-8384353. Now, callers like those in ML_DSA.java and ML_KEM.java will be able to make use of the return value.



Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • JDK-8386578 needs maintainer approval

Issue

  • JDK-8386578: double_keccak stub does not set its return value on x86 (Bug - P4 - Approved)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk25u-dev.git pull/616/head:pull/616
$ git checkout pull/616

Update a local copy of the PR:
$ git checkout pull/616
$ git pull https://git.openjdk.org/jdk25u-dev.git pull/616/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 616

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk25u-dev/pull/616.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper

bridgekeeper Bot commented Jun 16, 2026

Copy link
Copy Markdown

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

@openjdk

openjdk Bot commented Jun 16, 2026

Copy link
Copy Markdown

@missa-prime This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

After integration, the commit message for the final commit will be:

8386578: double_keccak stub does not set its return value on x86

Reviewed-by: mdoerr, vpaprotski

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 5 new commits pushed to the master branch:

As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@TheRealMDoerr) but any other Committer may sponsor as well.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@missa-prime missa-prime changed the title 8386789: double_keccak stub does not set its return value on x86 backport JDK-8386578 Jun 17, 2026
@openjdk openjdk Bot changed the title backport JDK-8386578 8386578: double_keccak stub does not set its return value on x86 Jun 17, 2026
@openjdk

openjdk Bot commented Jun 17, 2026

Copy link
Copy Markdown

This backport pull request has now been updated with the original issue, but not the original commit. If you have the original commit hash, please update the pull request title with Backport <hash>.

@openjdk openjdk Bot added the backport Port of a pull request already in a different code base label Jun 17, 2026
@missa-prime missa-prime marked this pull request as ready for review June 18, 2026 00:10
@missa-prime

Copy link
Copy Markdown
Author

@vpaprotsk @TheRealMDoerr Please review when you get a chance. I'll ask for maintainer approval afterwards.

@openjdk openjdk Bot added the rfr Pull request is ready for review label Jun 18, 2026
@mlbridge

mlbridge Bot commented Jun 18, 2026

Copy link
Copy Markdown

Webrevs

@TheRealMDoerr TheRealMDoerr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks reasonable. Thank you for fixing it!

@openjdk

openjdk Bot commented Jun 18, 2026

Copy link
Copy Markdown

⚠️ @missa-prime This change is now ready for you to apply for maintainer approval. This can be done directly in each associated issue or by using the /approval command.

@vpaprotsk vpaprotsk left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks good to me

@openjdk openjdk Bot added the approval Requires approval; will be removed when approval is received label Jun 19, 2026
@GoeLin

GoeLin commented Jun 19, 2026

Copy link
Copy Markdown
Member

Hi @missa-prime
thanks for preparing this.
If there is a test, you might want to contribute it to head as a follow-up change?

@openjdk openjdk Bot added ready Pull request is ready to be integrated and removed approval Requires approval; will be removed when approval is received labels Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Port of a pull request already in a different code base ready Pull request is ready to be integrated rfr Pull request is ready for review

Development

Successfully merging this pull request may close these issues.

4 participants