Small tweak to try to fix Javassist/Java8 incompatibility.

pull/61/head
Brett Wooldridge 11 years ago
parent 43a3663ec3
commit 5e6da1254b

@ -192,7 +192,7 @@ public final class JavassistProxyFactory
}
else
{
modifiedBody = "return ((cast) delegate).method($$);".replace("method", method.getName()).replace("cast", primaryInterface.getName());
modifiedBody = "{ return ((cast) delegate).method($$); }".replace("method", method.getName()).replace("cast", primaryInterface.getName());
}
if (method.getReturnType() == CtClass.voidType)

Loading…
Cancel
Save