Javassist call PolymorphicSignature method

68 Views Asked by At

I am trying to call MethodHandle.invokeExact in a generated Javassist method, but I always get Exception in thread "main" javassist.CannotCompileException: [source error] invokeExact(int) not found in java.lang.invoke.MethodHandle

This seems to be because invokeExact is a @PolymorphicSignature method. How can I call it from a Javassist method?

0

There are 0 best solutions below