Details
Description
This script:
interface Interface<SomeType> { public void handle(long a, SomeType x); } class InterfaceImpl implements Interface<String> { public void handle(long a, String something) { println(something); } } InterfaceImpl test = new InterfaceImpl() test.handle(5, "hi");
causes:
Caught: java.lang.VerifyError: (class: InterfaceImpl, method: handle signature: (JLjava/lang/Object;)V) Register 2 contains wrong type
at Test.class$(Test.groovy)
at Test.$get$$class$InterfaceImpl(Test.groovy)
at Test.run(Test.groovy:12)