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

[Alpha 0.0.1] 使用ASM进行反射时出现NoClassDefFoundError问题 #1

Closed
Kumonda221-CrO3 opened this issue Jun 18, 2019 · 2 comments
Assignees
Labels
bug Something isn't working resolved This issue is resolved.
Milestone

Comments

@Kumonda221-CrO3
Copy link
Member

Kumonda221-CrO3 commented Jun 18, 2019

如果使用默认的ASM即时编译反射器(ClassicInvokerProvider.ASM),则会抛出NoClassDefFoundError。已知问题原因是由于在即时编译的过程中,反射器使用的ClassLoader与插件的ClassLoader(PluginClassLoader)不一致,导致插件的Class对象对于反射器的Class对象所在的命名空间不可见,而无法完成反射过程。

@Kumonda221-CrO3 Kumonda221-CrO3 added the bug Something isn't working label Jun 18, 2019
@Kumonda221-CrO3 Kumonda221-CrO3 self-assigned this Jun 18, 2019
@Kumonda221-CrO3 Kumonda221-CrO3 pinned this issue Jun 18, 2019
@Kumonda221-CrO3
Copy link
Member Author

正在寻求解决方案。

@Kumonda221-CrO3
Copy link
Member Author

Kumonda221-CrO3 commented Jul 21, 2019

已在e77c60acb1c23f0f8f38eb8f2727d7085d9b4ab2中解决。将被包括在Alpha 0.1.2及以后版本中。

@Kumonda221-CrO3 Kumonda221-CrO3 added the resolved This issue is resolved. label Jul 21, 2019
@Kumonda221-CrO3 Kumonda221-CrO3 added this to the alpha-0.1.2 milestone Jul 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working resolved This issue is resolved.
Projects
None yet
Development

No branches or pull requests

1 participant