Commit 6f3e3c20 authored by Zhang Qingsong's avatar Zhang Qingsong
Browse files


- update previousFrameOffset for Frame Type F_NEW, too.
parent 72225c99
Pipeline #9045 passed with stage
in 7 minutes and 21 seconds
......@@ -774,6 +774,7 @@ final class MethodWriter extends MethodVisitor {
currentFrame[frameIndex++] = Frame.getAbstractTypeFromApiFormat(symbolTable, stack[i]);
previousFrameOffset = code.length;
} else {
if (symbolTable.getMajorVersion() < Opcodes.V1_6) {
throw new IllegalArgumentException("Class versions V1_5 or less must use F_NEW frames.");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment