Post

Android AOSP 代码中也有这种低级错误

最近因为工作原因看了些Android AOSP的代码,在zygote相关代码中看到一个低级错误,比较惊讶,Android这么成熟的平台,也会犯这种错误?

2021年的时候,AOSP中合入了这个patch:

可以看到,这个patch中重复注册了JNI函数com_android_internal_os_Zygote_nativeAddUsapTableEntry:

重复注册JNI函数

这个Bug虽然不会造成功能性的影响,但给人的感觉就是,AOSP的代码review是不是不太严格?

google收到这个bug反馈后,已经转为assigned状态,也就是已经将这个bug分配给开发人员进行修复了:

assigned状态

This post is licensed under CC BY 4.0 by the author.

© coderhuo. Some rights reserved.

本站总访问量次,本文总阅读量

Using the Chirpy theme for Jekyll.