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

BridgeMethodHydrator does not take into account synthetics on sub classes #12

Closed
Machine-Maker opened this issue Aug 2, 2023 · 0 comments

Comments

@Machine-Maker
Copy link
Contributor

Synthetic methods can be generated on subclasses, but then point to a method on the superclass. The invoke instruction used is the INVOKESPECIAL which currently the BridgeMethodHydrator treats as invalid, and so the method isn't hydrated properly.

There is also a check to make sure the class names are the same which isn't required.

And this also will probably requiring changing the HypoHydration.SYNTHETIC_SOURCE to be able to hold multiple methods, as there can be more than 1 synthetic bridge pointing to the same method.

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 a pull request may close this issue.

1 participant