Repository navigation
fix: 兼容 PVM2 继承异常及无资源 APK 并发布 1.8.4 - #28
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
业务类含继承、接口或异常处理区时,原有准入规则会将可独立执行的方法一并排除,导致 PVM2_ZERO_METHODS。本次保留 ART 方法分派与原声明,允许通过指令、控制流及异常表校验的独立方法进入 PVM2,并修复 throw null 未产生可捕获 NPE 的运行时问题。
同时修复合法空资源表和完全无资源表 APK 在资源重排、Apktool 元数据及重打包后校验中的失败。构造器、同步、生成桥接、特殊对象契约和不支持的状态访问/调用继续按规则保留;零转换和必保方法未覆盖仍失败。版本同步至 1.8.4。
验证:
边界:模拟器结果不替代厂商真机或客户 APK 验收;此次不宣称所有业务方法均可转换。升级后须重新加固。