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
You can edit a class with JSR/RET but unless you disable verify in the config assembling/exporting these modified classes will complain.
Exception
java.lang.IllegalArgumentException: JSR/RET are not supported with computeFrames option
at org.objectweb.asm.Frame.execute(Frame.java:1017)
at org.objectweb.asm.MethodWriter.visitJumpInsn(MethodWriter.java:1145)
at org.objectweb.asm.tree.JumpInsnNode.accept(JumpInsnNode.java:79)
at org.objectweb.asm.tree.InsnList.accept(InsnList.java:144)
at org.objectweb.asm.tree.MethodNode.accept(MethodNode.java:751)
at org.objectweb.asm.tree.MethodNode.accept(MethodNode.java:649)
at org.objectweb.asm.tree.ClassNode.accept(ClassNode.java:452)
at me.coley.recaf.ui.controls.text.BytecodeEditorPane.assemble(BytecodeEditorPane.java:230)
at me.coley.recaf.ui.controls.view.BytecodeViewport.save(BytecodeViewport.java:85)
Potential Fix
When loading older classes, pass them through JSRInlinerAdapter or disable frame generation.
The text was updated successfully, but these errors were encountered:
Describe the bug
Exception
Potential Fix
When loading older classes, pass them through JSRInlinerAdapter or disable frame generation.
The text was updated successfully, but these errors were encountered: