Skip to content

Commit

Permalink
Merge pull request #11596 from rvansa/fix_zig
Browse files Browse the repository at this point in the history
ClassCastException and swallowed original cause #11529
  • Loading branch information
gsmet authored Aug 25, 2020
2 parents 04f8c04 + 095b494 commit 5afaaa8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ static String generateInvoker(BeanInfo bean, MethodInfo method,
invoke(bean, method, messageHandle, tryBlock);
tryBlock.invokeInterfaceMethod(FUTURE_COMPLETE, funcBytecode.getMethodParam(0), tryBlock.loadNull());
CatchBlockCreator catchBlock = tryBlock.addCatch(Exception.class);
catchBlock.invokeInterfaceMethod(FUTURE_FAIL, funcBytecode.getMethodParam(0), catchBlock.getMethodParam(0));
catchBlock.invokeInterfaceMethod(FUTURE_FAIL, funcBytecode.getMethodParam(0), catchBlock.getCaughtException());
funcBytecode.returnValue(null);

invoke.invokeInterfaceMethod(VERTX_EXECUTE_BLOCKING, vertxHandle, func.getInstance(), invoke.load(false),
Expand Down

0 comments on commit 5afaaa8

Please sign in to comment.