我正在尝试在字节码中执行此操作:
if("asd"=="asd"){}
但我收到以下错误:
Exception in thread "main" java.lang.VerifyError: (class: Main, method: main signature: ([LJava/lang/String:)V) Expecting to find integer on stack
at java.lang.Class.getDeclareMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.class.getMethod0(Unknown Source)
at java.lang.class.getMethod(Unknown Source)
at sun.launcher.LauncherHelper.getMainMethod(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
有任何想法吗?