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
2f5e77e1
Commit
2f5e77e1
authored
Dec 31, 2010
by
forax
Browse files
Fix: Analysis interpreter uses wroong constant for method type and method handle
Patch provided by Jim Laskey
parent
ea414d12
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/org/objectweb/asm/tree/analysis/BasicInterpreter.java
View file @
2f5e77e1
...
...
@@ -108,9 +108,9 @@ public class BasicInterpreter implements Opcodes, Interpreter {
case
AbstractInsnNode
.
CST_CLASS_INSN
:
return
newValue
(
Type
.
getObjectType
(
"java/lang/Class"
));
case
AbstractInsnNode
.
CST_MTYPE_INSN
:
return
newValue
(
Type
.
getObjectType
(
"java/
lang
/MethodType"
));
return
newValue
(
Type
.
getObjectType
(
"java/
dyn
/MethodType"
));
case
AbstractInsnNode
.
CST_MHANDLE_INSN
:
return
newValue
(
Type
.
getObjectType
(
"java/
lang
/MethodHandle"
));
return
newValue
(
Type
.
getObjectType
(
"java/
dyn
/MethodHandle"
));
//case AbstractInsnNode.CST_PRIM_INSN:
default
:
{
...
...
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