Jump to content
Tuts 4 You

[JAVA] Calling invokedynamic in Java


Recommended Posts

Calling invokedynamic in Java


There is no way to invoke invokedynamic using the Java language. So testing invokedynamic

is not that obvious if you don't have your own dynamic language.

I've developed a small class DynamicIndy that uses ASM 4.0 (not an official release)

to generate a static method that calls invokedynamic. These static method is after

converted to a MethodHandle that can be called in Java.


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...