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

fix hook static method #21

Merged
merged 1 commit into from
Apr 23, 2019
Merged

fix hook static method #21

merged 1 commit into from
Apr 23, 2019

Conversation

WaterlooBridge
Copy link
Contributor

hook方法时忘记把原方法的access_flags赋值给ArtHookParam的origin_access_flags属性,导致MovingGC之后,Clone时静态方法变为了对象方法,出现null receiver problem。EnsureClassInitialized未能解决static method未resolved。

@asLody asLody merged commit 8f7e7b0 into asLody:master Apr 23, 2019
@asLody
Copy link
Owner

asLody commented Apr 23, 2019

感谢!

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