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

Fixing missing reference type handling for rewriting purposes #11

Merged
merged 1 commit into from
Mar 29, 2023

Conversation

andvgal
Copy link
Contributor

@andvgal andvgal commented Mar 20, 2023

During some DEX rewriting using the latest features, exceptions get thrown because of missing handling of some reference types.

Fixed that, and also went through the code to fix all other missing stuff. In some cases, maybe no real opcode would be coded such way that some code path would be triggered, but this way is more safe.

Also, likely fixed a bug of interning METHOD_HANDLE type.

This PR has been made against the original repository, but did not get merged before the fork, but the code has been in production through custom builds for a while.

CLA has been signed.

@andvgal
Copy link
Contributor Author

andvgal commented Mar 23, 2023

@sgjesse @zerny tagging you as you are missing on the watch list apparently.

@sgjesse
Copy link
Collaborator

sgjesse commented Mar 24, 2023

Thank you for the patch. I will take a closer look on Monday.

Copy link
Collaborator

@sgjesse sgjesse left a comment

Choose a reason for hiding this comment

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

LGTM

It would be nice with a followup with some tests of this rewriting, but as there is currently only limited testing of rewriting I will not block the PR based on that.

@sgjesse sgjesse merged commit 0367ceb into google:main Mar 29, 2023
@andvgal
Copy link
Contributor Author

andvgal commented Mar 29, 2023

Thank you, and I agree about the tests.

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