提交 8b66888c 编写于 作者: wu-sheng's avatar wu-sheng 提交者: GitHub

Merge pull request #456 from ascrutae/fix/override-argment-failed

fix override args failed
......@@ -53,7 +53,7 @@ public class InstMethodsInterWithOverrideArgs {
public Object intercept(@This Object obj,
@AllArguments Object[] allArguments,
@Origin Method method,
@Morph(defaultMethod = true) OverrideCallable zuper
@Morph OverrideCallable zuper
) throws Throwable {
EnhancedInstance targetObject = (EnhancedInstance)obj;
......
......@@ -47,7 +47,7 @@ public class StaticMethodsInterWithOverrideArgs {
*/
@RuntimeType
public Object intercept(@Origin Class<?> clazz, @AllArguments Object[] allArguments, @Origin Method method,
@Morph(defaultMethod = true) OverrideCallable zuper) throws Throwable {
@Morph OverrideCallable zuper) throws Throwable {
StaticMethodsAroundInterceptor interceptor = InterceptorInstanceLoader
.load(staticMethodsAroundInterceptorClassName, clazz.getClassLoader());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册