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