null check in uncache method, use the original ABC object in recompile test

This commit is contained in:
honfika@gmail.com
2014-11-23 15:20:45 +01:00
parent 767dfd8278
commit 8267b11442
3 changed files with 7 additions and 4 deletions

View File

@@ -103,7 +103,7 @@ public class RecompileTest {
System.out.println("Recompiling:" + en.getKey().toString() + "...");
en.getValue().toSource(htw, swf.abcList, abc.script_info.get(s).traits.traits, ScriptExportMode.AS, false);
String original = htw.toString();
ABC nabc = new ABC(swf);
ABC nabc = abc; //new ABC(swf);
com.jpexs.decompiler.flash.abc.avm2.parser.script.ActionScriptParser.compile(original, nabc, allAbcs, false, en.getKey().className + ".as", abc.instance_info.size());
}
}