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

对 GraalVM Native-Image 进行支持。 #16

Open
IceCream-QAQ opened this issue Jan 13, 2021 · 0 comments
Open

对 GraalVM Native-Image 进行支持。 #16

IceCream-QAQ opened this issue Jan 13, 2021 · 0 comments
Labels
需求 一个新的功能建议

Comments

@IceCream-QAQ
Copy link
Owner

提供一个启动项,使其在启动后可以生成为 GraalVM Native-Image 优化的 jar。

将需要反射扫描的内容,扫描收集整理,生成 MateDataClass。
将需要对类进行增强的内容,或是通过 YuHook 添加的钩子,直接写入源 Class。
将需要反射操作的内容,通过 ASM 向源 Class 直接生成操作方法。
举例:
当依赖注入需要使用反射写值的时候,对源 Class 添加一个 YuCoreInjectSetXXX 的方法,以便运行时可以脱离反射。

@IceCream-QAQ IceCream-QAQ added the 需求 一个新的功能建议 label Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
需求 一个新的功能建议
Projects
None yet
Development

No branches or pull requests

1 participant