You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
light0x00
changed the title
BUG: RequestApiLogRecordAop 类型
BUG: 被代理方法含有primitive类型时,会抛出 java.lang.NoSuchMethodException
Dec 29, 2021
light0x00
changed the title
BUG: 被代理方法含有primitive类型时,会抛出 java.lang.NoSuchMethodException
被代理方法含有primitive类型时,会抛出 java.lang.NoSuchMethodException
Dec 29, 2021
light0x00
changed the title
被代理方法含有primitive类型时,会抛出 java.lang.NoSuchMethodException
被代理方法参数含有primitive类型时,会抛出 java.lang.NoSuchMethodException
Dec 30, 2021
如果被代理方法的参数有 primitive 类型,比如 int,
args[k].getClass()
取出来是 java.lang.Integer ,之后执行Method method = Class.forName(classType).getMethod(methodName, classes);
就会抛出java.lang.NoSuchMethodException
这里正确的取被代理方法参数类型的方式应该是:
The text was updated successfully, but these errors were encountered: