Duplicate :
|
If MethodHandles.catchException is given a MH argument with 9 or more parameters of type other than Object, the returned MH will have the correct arity but wrong argument types (Object). The bug was first reported here: http://mail.openjdk.java.net/pipermail/mlvm-dev/2012-December/005136.html The fix is to add a call to makePairwiseConvert in the 'else' clause of MethodHandleImpl.makeGuardWithCatch.