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

InvokeDynamicInst 的实现 #41

Open
aprz512 opened this issue Aug 20, 2023 · 2 comments
Open

InvokeDynamicInst 的实现 #41

aprz512 opened this issue Aug 20, 2023 · 2 comments

Comments

@aprz512
Copy link

aprz512 commented Aug 20, 2023

关于这个指令的 BootstrapMethods 属性,我看了官方文档:
https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html#jvms-4.7.21
但是里面没有详细介绍 bootstrap_arguments,有点不太明白,想请教一下,这个 bootstrap 方法的参数列表是做啥的呢?
我个人的理解是,单纯的支持 lambda 表达式,拿 runnable 来说,第二个参数对应的是生成的目标方法,第一个参数与第三个参数是一样的,所以不太明白为啥会有两个,它们的作用是啥?

@guxingke
Copy link
Owner

时间有点久,细节记不清了,有进展我会同步

@aprz512
Copy link
Author

aprz512 commented Aug 24, 2023

好的,谢谢

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

2 participants