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
I love ArnoldC and have been experimenting with it for a bit, but I have come across several scenarios where I have tried to run my program and got lengthy errors regarding inconsistent stackmap frames.
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2531)
at java.lang.Class.getMethod0(Class.java:2774)
at java.lang.Class.getMethod(Class.java:1663)
at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)
I love ArnoldC and have been experimenting with it for a bit, but I have come across several scenarios where I have tried to run my program and got lengthy errors regarding inconsistent stackmap frames.
For example,
Exception in thread "main" java.lang.VerifyError: Inconsistent stackmap frames at branch target 75
Exception Details:
Location:
lfib.main([Ljava/lang/String;)V @75: return
Reason:
Type top (current frame, locals[5]) is not assignable to integer (stack map, locals[5])
Current Frame:
bci: @23
flags: { }
locals: { integer, integer, integer, integer, integer }
stack: { integer }
Stackmap Frame:
bci: @75
flags: { }
locals: { integer, integer, integer, integer, integer, integer }
stack: { }
Bytecode:
0000000: 1100 193b 1100 003c 1100 003d 1100 013e
0000010: 1100 0136 0415 0499 0034 1100 0036 051c
0000020: 1d60 3605 b200 1115 05b6 0017 1d3d 1505
0000030: 3e1b 3c1a 1ba3 0007 03a7 0007 04a7 0003
0000040: 3604 1b11 0001 603c a7ff cdb1
Stackmap Table:
full_frame(@21,{Integer,Integer,Integer,Integer,Integer},{})
full_frame(@60,{Integer,Integer,Integer,Integer,Integer,Integer},{})
same_locals_1_stack_item_frame(@64,Integer)
same_frame(@75)
Code causing this error: https://gist.github.com/brandonio21/be36c230748e6d530027#file-lfib25
The text was updated successfully, but these errors were encountered: