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

Attempt to read contents of classfile semantically to be safer #5

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

daniel-beck
Copy link
Member

Shouldn't change behavior except in unusual situations, e.g. a patched remoting that has other methods with the name we replace as prefix.

@daniel-beck daniel-beck requested a review from jglick August 10, 2024 19:23
@jglick
Copy link

jglick commented Aug 12, 2024

Probably right? But makes the agent much more complicated and IMO therefore riskier.

@daniel-beck
Copy link
Member Author

daniel-beck commented Aug 12, 2024

much more complicated and IMO therefore riskier

The current version would transform non-exact matches in the constant pool, though (and potentially outside, but the chance seems low). Is that not a more significant risk to stability?

@jglick
Copy link

jglick commented Aug 13, 2024

Maybe, but only if someone adds a new fetchJar symbol to this class.

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.

2 participants