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
Jamie Mansfield
asm
Commits
df94a0cc
Commit
df94a0cc
authored
May 19, 2009
by
forax
Browse files
Fix bug in Frame simulation of invokedynamic.
invokedynamic is encoded using a NaneAndType in constant pool.
parent
ee70fd08
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/org/objectweb/asm/Frame.java
View file @
df94a0cc
...
...
@@ -1162,9 +1162,8 @@ final class Frame {
case
Opcodes
.
INVOKESPECIAL
:
case
Opcodes
.
INVOKESTATIC
:
case
Opcodes
.
INVOKEINTERFACE
:
case
Opcodes
.
INVOKEDYNAMIC
:
pop
(
item
.
strVal3
);
if
(
opcode
!=
Opcodes
.
INVOKESTATIC
&&
opcode
!=
Opcodes
.
INVOKEDYNAMIC
)
{
if
(
opcode
!=
Opcodes
.
INVOKESTATIC
)
{
t1
=
pop
();
if
(
opcode
==
Opcodes
.
INVOKESPECIAL
&&
item
.
strVal2
.
charAt
(
0
)
==
'<'
)
...
...
@@ -1174,6 +1173,10 @@ final class Frame {
}
push
(
cw
,
item
.
strVal3
);
break
;
case
Opcodes
.
INVOKEDYNAMIC
:
pop
(
item
.
strVal2
);
push
(
cw
,
item
.
strVal2
);
break
;
case
Opcodes
.
NEW
:
push
(
UNINITIALIZED
|
cw
.
addUninitializedType
(
item
.
strVal1
,
arg
));
break
;
...
...
Write
Preview
Markdown
is supported
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