-
Notifications
You must be signed in to change notification settings - Fork 238
8317920: JDWP-agent sends broken exception event with onthrow option #2206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8317920: JDWP-agent sends broken exception event with onthrow option #2206
Conversation
👋 Welcome back jbechberger! A progress list of the required criteria for merging this PR into |
Webrevs
|
|
The GHA build failures are puzzling because the code in debugInit.c that causes the failure doesn't exist in the jdk11u-dev version. |
Reviewed-by: clanger, cjplummer
d322be4
to
dc4ce82
Compare
@parttimenerd Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information. |
And it builds on some architectures, despite being platform-independent. |
threadControl_onEventHandlerEntry(...) has different args in 11 and 17. The fact that it compiled is just luck probably. |
Thank you, I'll fix it tomorrow. |
It works now :) |
Hi @parttimenerd, did this run through the SAP 11u tests? |
Yes, last night and without any issues (as far I can ascertain). |
/approve yes |
@GoeLin |
@parttimenerd This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
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 16 new commits pushed to the
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 (@phohensee) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
Thank you! |
/integrate |
@parttimenerd |
/sponsor |
Going to push as commit 662f3bd.
Your commit was automatically rebased without conflicts. |
@GoeLin @parttimenerd Pushed as commit 662f3bd. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Fixes the bug that is in the JDWP-agent since JDK 1.5.
The original patch did not apply cleanly because Virtual Threads and instanceof patterns are not present in JDK 11 and the Debuggee class changed slightly.
Tested on Mac M1 with the added test case, the code is platform-independent.
Progress
Issue
Backport <hash>
with the hash of the original commit. See Backports.Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev.git pull/2206/head:pull/2206
$ git checkout pull/2206
Update a local copy of the PR:
$ git checkout pull/2206
$ git pull https://git.openjdk.org/jdk11u-dev.git pull/2206/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2206
View PR using the GUI difftool:
$ git pr show -t 2206
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/2206.diff
Webrev
Link to Webrev Comment