Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zhang Qingsong
asm
Commits
6f3e3c20
Commit
6f3e3c20
authored
Jul 17, 2020
by
Zhang Qingsong
Browse files
Update MethodWriter.java
- update previousFrameOffset for Frame Type F_NEW, too.
parent
72225c99
Pipeline
#9045
passed with stage
in 7 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
asm/src/main/java/org/objectweb/asm/MethodWriter.java
View file @
6f3e3c20
...
...
@@ -774,6 +774,7 @@ final class MethodWriter extends MethodVisitor {
currentFrame
[
frameIndex
++]
=
Frame
.
getAbstractTypeFromApiFormat
(
symbolTable
,
stack
[
i
]);
}
visitFrameEnd
();
previousFrameOffset
=
code
.
length
;
}
else
{
if
(
symbolTable
.
getMajorVersion
()
<
Opcodes
.
V1_6
)
{
throw
new
IllegalArgumentException
(
"Class versions V1_5 or less must use F_NEW frames."
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment