简化RePlugin对宿主PathClassLoader的处理,去掉对私有API的依赖。 #840
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.
要解决的问题 Describe the problem to be solved
在我写Tencent Shadow之前,我曾经调研过RePlugin。发现RePlugin实现将插件Activity.class返回给系统使用的核心代码实现的有些麻烦了,而且还使用了很多私有API。
终于等到公司同意Tencent Shadow开源,特来将这段代码贡献给RePlugin。也希望RePlugin团队能同我们就插件框架技术有所交流。
这个PR如果有考虑不周之处,希望能得到指点。