Commit b2bfee3c authored by ebruneton's avatar ebruneton
Browse files

fixed bug #314964

parent 35516467
......@@ -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);
}
......
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