PatchManager中initPatchs()打补丁的顺序性
Open
- Dominant language
- C++
- Stars
- 7k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
AndFix可以打多个补丁,但存在不同补丁修改了同一个类的情况。
如果打补丁的顺序没有保证,比如initPatchs()方法中直接调用mPatchDir.listFiles(),该方法没有保证顺序返回files列表,则补丁就可能被覆盖了,这个怎么解决呢?
Contributor guide
No contributing guide indexed for this repository
Research direction
Read PatchManager.initPatchs(), especially its use of mPatchDir.listFiles(), to understand how multiple patches targeting one class are currently selected or applied. Done means patch application has a deterministic order and does not depend on filesystem listing order when patches modify the same class; the payload names no test file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100