jextract icon indicating copy to clipboard operation
jextract copied to clipboard

7903984: Inline upcallHandle method to reduce shared code across multiple generations

Open nizarbenalla opened this issue 8 months ago • 3 comments

Please review this patch to inline the upcallHandle method, reducing the amount of shared items across multiple jextract generations.

Edit: all tests pass in CI, GitHub failure is unrelated

TIA


Progress

  • [x] Change must not contain extraneous whitespace
  • [x] Change must be properly reviewed (no review required)

Issue

  • CODETOOLS-7903984: Inline upcallHandle method to reduce shared code across multiple generations (Enhancement - P4)

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 279

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jextract/pull/279.diff

Using Webrev

Link to Webrev Comment

nizarbenalla avatar Mar 28 '25 14:03 nizarbenalla

:wave: Welcome back nbenalla! 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.

bridgekeeper[bot] avatar Mar 28 '25 14:03 bridgekeeper[bot]

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

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

7903984: Inline upcallHandle method to reduce shared code across multiple generations

Reviewed-by: mcimadamore, jvernee

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 no new commits pushed to the master branch. If another commit should be pushed before you perform the /integrate command, your PR will be automatically rebased. If you prefer to avoid any potential 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 (@mcimadamore, @JornVernee) 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).

openjdk[bot] avatar Mar 28 '25 14:03 openjdk[bot]

Webrevs

mlbridge[bot] avatar Mar 28 '25 14:03 mlbridge[bot]

Pushed a new commit to resolve merge conflict.

nizarbenalla avatar Apr 04 '25 15:04 nizarbenalla

Based on some offline discussions, I made the function classes final with a private constructor.

nizarbenalla avatar Apr 11 '25 08:04 nizarbenalla