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.
在 Groovy 2.1 中,添加了对invokedynamic(参见此处和此处)的完全支持。
invokedynamic
为了使用此功能,看起来需要 JDK7 和“indy”Groovy jar。
我正在使用带有 JDK7 和 Groovy 2.3 的 Grails 2.4.3,所以看起来这应该是可能的,而且它似乎也有助于 Grails 的性能。
我的问题是:Grails 可以利用它吗?如果可以,如何使用?
这是不久前的一个类似问题,涵盖了类似的领域。