Thanks for your reply!
My aim is to dispatch based on the dynamic type of the Object as described in:
http://en.wikipedia.org/wiki/Multiple_dispatch
Currently my implementation revolves around building a HashMap that
maps a dynamic type to a MethodHandle and invoking that:
HashMap lookup = new
Hi all
So I've been playing around with invokedynamic (with build 84),
however I've stumbled on something I find quite strange!
Consider two objects a and b that both reference a String. a is
declared as a String but b is only an Object. When I dynamically
invoke with either a or b as an argument