bytekit icon indicating copy to clipboard operation
bytekit copied to clipboard

当使用@Binding.InvokeArgs Object[] args时抛异常

Open b97y opened this issue 2 years ago • 0 comments

java.lang.IllegalArgumentException: Error at instruction 21: Expected an object reference, but found . test()V 00000 R . . . : : L0 00001 R . . . : : LINENUMBER 23 L0 00002 R . . . : : NEW com/alibaba/bytekit/asm/interceptor/AtInvokeTest2$Sample 00003 R . . . : R : DUP 00004 R . . . : R R : INVOKESPECIAL com/alibaba/bytekit/asm/interceptor/AtInvokeTest2$Sample. ()V 00005 R . . . : R : ASTORE 1 00006 R R . . : : L1 00007 R R . . : : LINENUMBER 24 L1 00008 R R . . : : ICONST_0 00009 R R . . : I : ISTORE 2 00010 R R I . : : L2 00011 R R I . : : FRAME APPEND [com/alibaba/bytekit/asm/interceptor/AtInvokeTest2$Sample I] 00012 R R I . : : ILOAD 2 00013 R R I . : I : ICONST_1 00014 R R I . : I I : IF_ICMPGE L3 00015 R R I . : : L4 00016 R R I . : : LINENUMBER 25 L4 00017 R R I . : : ALOAD 1 00018 R R I . : R : LDC "hello2" 00019 R R I . : R R : ILOAD 2 00020 R R I . : R R I : LDC "hello" 00021 R R I . : R R I R : ALOAD 3 00022 ? : INVOKESTATIC com/alibaba/bytekit/asm/interceptor/AtInvokeTest2$TestAccessInterceptor.onInvoke (Ljava/lang/String;[Ljava/lang/Object;)V 00023 ? : INVOKEVIRTUAL com/alibaba/bytekit/asm/interceptor/AtInvokeTest2$Sample.hello (Ljava/lang/String;I)Ljava/lang/String; 00024 ? : POP 00025 ? : L5 00026 ? : LINENUMBER 24 L5 00027 ? : IINC 2 1 00028 ? : GOTO L2 00029 R R I . : : L3 00030 R R I . : : LINENUMBER 27 L3 00031 R R I . : : FRAME SAME 00032 R R I . : : RETURN 00033 ? : L6

b97y avatar Mar 17 '23 06:03 b97y