Skip to content
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

master 分支拆分 sample-plugin 的项目后,插件调用宿主的白名单找不到对应的类 #692

Closed
ren-gh opened this issue Nov 27, 2021 · 0 comments · Fixed by #693

Comments

@ren-gh
Copy link

ren-gh commented Nov 27, 2021

master 分支拆分 sample-plugin 的项目后,插件调用宿主的白名单找不到对应的类,导致插件崩溃,未拆分的是 OK 的。

shifujun added a commit to shifujun/Shadow that referenced this issue Nov 29, 2021
拆分后sample-app的parent是sample-base了,
由于hostWhiteList是设置在PluginClassLoader上的,
所以需要在sample-base的hostWhiteList上设置白名单,
才能使sample-app可以访问宿主中的类。

fixup! 08da57d
fix Tencent#692
shifujun added a commit that referenced this issue Nov 29, 2021
拆分后sample-app的parent是sample-base了,
由于hostWhiteList是设置在PluginClassLoader上的,
所以需要在sample-base的hostWhiteList上设置白名单,
才能使sample-app可以访问宿主中的类。

fixup! 08da57d
fix #692
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant