Skip to content

Conversation

@amosshi
Copy link
Contributor

@amosshi amosshi commented Sep 23, 2023

  • This is the back port of JDK-8267860 : Off-by-one bug when searching arrays in AlpnGreaseTest
  • The original commit is openjdk/jdk@2adef6a
  • The test case has been verified working in local

Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • JDK-8267860 needs maintainer approval

Issue

  • JDK-8267860: Off-by-one bug when searching arrays in AlpnGreaseTest (Bug - P5 - Approved)

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 2144

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

Using diff file

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

Webrev

Link to Webrev Comment

@bridgekeeper bridgekeeper bot added the oca Needs verification of OCA signatory status label Sep 23, 2023
@bridgekeeper
Copy link

bridgekeeper bot commented Sep 23, 2023

Hi @amosshi, welcome to this OpenJDK project and thanks for contributing!

We do not recognize you as Contributor and need to ensure you have signed the Oracle Contributor Agreement (OCA). If you have not signed the OCA, please follow the instructions. Please fill in your GitHub username in the "Username" field of the application. Once you have signed the OCA, please let us know by writing /signed in a comment in this pull request.

If you already are an OpenJDK Author, Committer or Reviewer, please click here to open a new issue so that we can record that fact. Please use "Add GitHub user amosshi" as summary for the issue.

If you are contributing this work on behalf of your employer and your employer has signed the OCA, please let us know by writing /covered in a comment in this pull request.

@GoeLin
Copy link
Member

GoeLin commented Sep 25, 2023

/covered Amos Shi is an SAP colleague now working on the 11u and 17u updates projects. He is covered by the SAP OCA.

@bridgekeeper bridgekeeper bot removed the oca Needs verification of OCA signatory status label Sep 28, 2023
@openjdk openjdk bot added the rfr Pull request is ready for review label Sep 28, 2023
@mlbridge
Copy link

mlbridge bot commented Sep 28, 2023

Webrevs

@amosshi amosshi changed the title 8267860: Off-by-one bug when searching arrays in AlpnGreaseTest 8267860: Backport 2adef6a1f84d478bb38b179795f08ffa43680e36 Sep 28, 2023
@amosshi amosshi changed the title 8267860: Backport 2adef6a1f84d478bb38b179795f08ffa43680e36 Backport 2adef6a1f84d478bb38b179795f08ffa43680e36 Sep 28, 2023
@openjdk openjdk bot changed the title Backport 2adef6a1f84d478bb38b179795f08ffa43680e36 8267860: Off-by-one bug when searching arrays in AlpnGreaseTest Sep 28, 2023
@openjdk
Copy link

openjdk bot commented Sep 28, 2023

This backport pull request has now been updated with issue from the original commit.

@openjdk openjdk bot added backport Port of a pull request already in a different code base clean Identical backport; no merge resolution required labels Sep 28, 2023
@openjdk
Copy link

openjdk bot commented Sep 28, 2023

⚠️ @amosshi 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.

@amosshi
Copy link
Contributor Author

amosshi commented Sep 28, 2023

/approval

@openjdk
Copy link

openjdk bot commented Sep 28, 2023

@amosshi usage: /approval [<id>] (request|cancel) [<text>]

@openjdk
Copy link

openjdk bot commented Sep 28, 2023

@amosshi The approval request has been created successfully.

@amosshi
Copy link
Contributor Author

amosshi commented Sep 28, 2023

/approval request Backport

@openjdk openjdk bot added the approval Requires approval; will be removed when approval is received label Sep 28, 2023
@openjdk
Copy link

openjdk bot commented Sep 28, 2023

@amosshi The approval request has been updated successfully.

@GoeLin
Copy link
Member

GoeLin commented Sep 29, 2023

/approve yes

@openjdk
Copy link

openjdk bot commented Sep 29, 2023

@GoeLin
8267860: The approval request has been approved.

@openjdk
Copy link

openjdk bot commented Sep 29, 2023

⚠️ @amosshi the full name on your profile does not match the author name in this pull requests' HEAD commit. If this pull request gets integrated then the author name from this pull requests' HEAD commit will be used for the resulting commit. If you wish to push a new commit with a different author name, then please run the following commands in a local repository of your personal fork:

$ git checkout backport-8267860
$ git commit --author='Preferred Full Name <you@example.com>' --allow-empty -m 'Update full name'
$ git push

@openjdk
Copy link

openjdk bot commented Sep 29, 2023

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

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

8267860: Off-by-one bug when searching arrays in AlpnGreaseTest

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 8 new commits pushed to the master branch:

  • 0beae37: 8280004: DCmdArgument::parse_value() should handle NULL input
  • 166adaa: 8315770: serviceability/sa/TestJmapCoreMetaspace.java should run with -XX:-VerifyDependencies
  • ffef098: 8290067: Show stack dimensions in UL logging when attaching threads
  • f530f34: 8313792: Verify 4th party information in src/jdk.internal.le/share/legal/jline.md
  • c2ac5e2: 8301065: Handle control characters in java_lang_String::print
  • bcac47f: 8313657: com.sun.jndi.ldap.Connection.cleanup does not close connections on SocketTimeoutErrors
  • e7b2077: 8316206: Test StretchedFontTest.java fails for Baekmuk font
  • 2513c89: 8288325: [windows] Actual and Preferred Size of AWT Non-resizable frame are different

Please see this link for an up-to-date comparison between the source branch of this pull request and 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.

➡️ 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 openjdk bot added ready Pull request is ready to be integrated and removed approval Requires approval; will be removed when approval is received labels Sep 29, 2023
@amosshi
Copy link
Contributor Author

amosshi commented Sep 29, 2023

/integrate

@openjdk openjdk bot added the sponsor Pull request is ready to be sponsored label Sep 29, 2023
@openjdk
Copy link

openjdk bot commented Sep 29, 2023

@amosshi
Your change (at version 155b11b) is now ready to be sponsored by a Committer.

@GoeLin
Copy link
Member

GoeLin commented Sep 29, 2023

/sponsor

@openjdk
Copy link

openjdk bot commented Sep 29, 2023

Going to push as commit cf722df.
Since your change was applied there have been 8 commits pushed to the master branch:

  • 0beae37: 8280004: DCmdArgument::parse_value() should handle NULL input
  • 166adaa: 8315770: serviceability/sa/TestJmapCoreMetaspace.java should run with -XX:-VerifyDependencies
  • ffef098: 8290067: Show stack dimensions in UL logging when attaching threads
  • f530f34: 8313792: Verify 4th party information in src/jdk.internal.le/share/legal/jline.md
  • c2ac5e2: 8301065: Handle control characters in java_lang_String::print
  • bcac47f: 8313657: com.sun.jndi.ldap.Connection.cleanup does not close connections on SocketTimeoutErrors
  • e7b2077: 8316206: Test StretchedFontTest.java fails for Baekmuk font
  • 2513c89: 8288325: [windows] Actual and Preferred Size of AWT Non-resizable frame are different

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Sep 29, 2023
@openjdk openjdk bot closed this Sep 29, 2023
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review sponsor Pull request is ready to be sponsored labels Sep 29, 2023
@openjdk
Copy link

openjdk bot commented Sep 29, 2023

@GoeLin @amosshi Pushed as commit cf722df.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

@amosshi amosshi deleted the backport-8267860 branch October 3, 2023 06:09
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 clean Identical backport; no merge resolution required integrated Pull request has been integrated

Development

Successfully merging this pull request may close these issues.

2 participants