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
raphw
asm
Commits
b2bfee3c
Commit
b2bfee3c
authored
May 01, 2010
by
ebruneton
Browse files
fixed bug #314964
parent
35516467
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/org/objectweb/asm/commons/AnalyzerAdapter.java
View file @
b2bfee3c
...
...
@@ -114,6 +114,11 @@ public class AnalyzerAdapter extends MethodAdapter {
*/
private
int
maxLocals
;
/**
* The owner's class name.
*/
private
String
owner
;
/**
* Creates a new {@link AnalyzerAdapter}.
*
...
...
@@ -132,6 +137,7 @@ public class AnalyzerAdapter extends MethodAdapter {
final
MethodVisitor
mv
)
{
super
(
mv
);
this
.
owner
=
owner
;
locals
=
new
ArrayList
();
stack
=
new
ArrayList
();
uninitializedTypes
=
new
HashMap
();
...
...
@@ -294,7 +300,7 @@ public class AnalyzerAdapter extends MethodAdapter {
if
(
opcode
==
Opcodes
.
INVOKESPECIAL
&&
name
.
charAt
(
0
)
==
'<'
)
{
Object
u
;
if
(
t
==
Opcodes
.
UNINITIALIZED_THIS
)
{
u
=
owner
;
u
=
this
.
owner
;
}
else
{
u
=
uninitializedTypes
.
get
(
t
);
}
...
...
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