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

现在版本支持直接加载新类吗 #2820

Open
paressuex11 opened this issue Apr 25, 2024 · 2 comments
Open

现在版本支持直接加载新类吗 #2820

paressuex11 opened this issue Apr 25, 2024 · 2 comments

Comments

@paressuex11
Copy link

          好像ognl的确不能设置 static field。 

可以写一个新的类,里面设置 static field的值。然后用 classloader 命令把这个新的类 load到JVM里再执行。

Originally posted by @hengyunabc in #641 (comment)

@paressuex11 paressuex11 changed the title 好像ognl的确不能设置 static field。 现在版本支持直接加载新类吗 Apr 25, 2024
@paressuex11
Copy link
Author

我注意到之前的issue中提到可以使用classloader加载新类到jvm中;这个现在是需要使用redefine/retransform吗?还是可以直接加载新的类?

@paressuex11
Copy link
Author

ognl的lambda表达式支持转换为Function对象吗?

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

No branches or pull requests

1 participant