diff --git a/jode/jode/decompiler/CodeAnalyzer.java b/jode/jode/decompiler/CodeAnalyzer.java index 3cc2457..b6a2a23 100644 --- a/jode/jode/decompiler/CodeAnalyzer.java +++ b/jode/jode/decompiler/CodeAnalyzer.java @@ -57,10 +57,12 @@ public class CodeAnalyzer implements Analyzer { method = ma; env = e; - AttributeInfo attr = code.findAttribute("LocalVariableTable"); - if (attr != null) - lvt = new LocalVariableTable(bc.getMaxLocals(), - method.classAnalyzer, attr); + if (Decompiler.useLVT) { + AttributeInfo attr = code.findAttribute("LocalVariableTable"); + if (attr != null) + lvt = new LocalVariableTable(bc.getMaxLocals(), + method.classAnalyzer, attr); + } int paramCount = method.getParamCount(); param = new LocalInfo[paramCount];