On 4/13/2016 9:05 AM, Jochen Theodorou wrote:
What I would prefer though is a proper generic way to call a default method on an interface without having an implementing instance. A MethodHandles.lookup().in(Comperator.class) won't give me access to invokespecial Comperator#reversed, or am I wrong here?
This is off-topic for jigsaw-dev, but it doesn't make sense to invoke a default method without a receiver, as the method body might aload_0.
Alex