Skip to content
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

openjdk-17: fix hardcoded paths in jdk.attach #21337

Merged
merged 1 commit into from
Sep 3, 2024
Merged

openjdk-17: fix hardcoded paths in jdk.attach #21337

merged 1 commit into from
Sep 3, 2024

Conversation

licy183
Copy link
Member

@licy183 licy183 commented Sep 3, 2024

Closes #21327

@fornwall
Copy link
Member

fornwall commented Sep 3, 2024

Nice! @licy183 Do you want to add this patch to the #20793 PR as well, for the upcoming jdk 21 package?

@fornwall fornwall self-requested a review September 3, 2024 07:26
Copy link
Member

@fornwall fornwall left a comment

Choose a reason for hiding this comment

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

Looks good!

Tested with the simplified test case in mockito/mockito#2436, and @ascopes also reports that it works in #21327.

@ascopes
Copy link

ascopes commented Sep 3, 2024

Thanks for the quick fix. I can now contine writing code on the train to work!

Wonder if it is worth doing a crude search for "/tmp" in the codebase for OpenJDK to see if this occurs anywhere else?

@licy183 licy183 merged commit 94fd264 into master Sep 3, 2024
7 checks passed
@licy183
Copy link
Member Author

licy183 commented Sep 3, 2024

Do you want to add this patch to the #20793 PR as well, for the upcoming jdk 21 package?
Wonder if it is worth doing a crude search for "/tmp" in the codebase for OpenJDK to see if this occurs anywhere else?

Emmm... I'll do them if I get more free time, maybe this weekend.

@licy183 licy183 deleted the issue-21327 branch September 3, 2024 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: OpenJDK does not support agent attachment
3 participants