Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 JDK 7 的预览版中,有一组方法可以控制名为 Linkage 的类中的 invokedynamic 调用站点的链接。例如registerBootstrapMethod. 这些在 JDK 的最终版本中发生了什么?
registerBootstrapMethod
invokedynamic 指令本身现在具有对 bootstrap 方法的引用