-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
NEW followed by no DUP was found #1155
Comments
插件添加 类
其中 错误在哪边还不确定。 |
根据:https://stackoverflow.com/a/8594701/11616914 可知dup是为了接下来调用init方法和areturn时返回值。 但我们这里遇到的代码并不需要把webview返回。通过测试发现,我们的javac确实会不管后面用不用这个new出来的对象,都跟上一个dup指令。但看起来理论上来说确实不是必要的。 也许这个有问题的类就是proguard等工具把这个无用的dup给优化掉了。那么问题就是javassist实现错误了。 |
javac总是生成new+dup,但这并不是字节码规范。proguard等工具可能会优化掉dup。 fix Tencent#1155
javac总是生成new+dup,但这并不是字节码规范。proguard等工具可能会优化掉dup。 fix #1155
集成Admob sdk报错
The text was updated successfully, but these errors were encountered: