Fix duplicate <clinit> execution in some cases when accessing class through reflection

This commit is contained in:
Alexey Andreev 2018-05-05 18:38:18 +03:00
parent d2aa37d6a4
commit 52ddd96c7d

View File

@ -447,6 +447,7 @@ public class Renderer implements RenderingManager {
private void renderEraseClinit(ClassNode cls) throws IOException {
writer.appendClass(cls.getName()).append("_$callClinit").ws().append("=").ws()
.appendClass(cls.getName()).append(".$clinit").ws().append("=").ws()
.append("function(){};").newLine();
}