Fix staticness check and functionality of ModifyVariable in constructors

This commit is contained in:
Mumfrey committed 2019-12-06 16:43:12 +00:00
1 parent ce622cdfa6
commit 66bdb7b3b0
3 files changed
+44 -9

No files matched your search

@@ -142,7 +142,7 @@ public final class Locals {
if (classInfo == null) {
throw new LVTGeneratorError("Could not load class metadata for " + classNode.name + " generating LVT for " + method.name);
}
Method methodInfo = classInfo.findMethod(method);
Method methodInfo = classInfo.findMethod(method, method.access | ClassInfo.INCLUDE_INITIALISERS);
if (methodInfo == null) {
throw new LVTGeneratorError("Could not locate method metadata for " + method.name + " generating LVT in " + classNode.name);
}