From 6353fad6204231909c58f4851816524db71ef48b Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Tue, 27 Jan 2015 14:29:40 +0400 Subject: [PATCH] Fix error with properties not available in renderer --- teavm-core/src/main/java/org/teavm/vm/TeaVM.java | 1 + 1 file changed, 1 insertion(+) diff --git a/teavm-core/src/main/java/org/teavm/vm/TeaVM.java b/teavm-core/src/main/java/org/teavm/vm/TeaVM.java index f04ca6caf..27d261cd0 100644 --- a/teavm-core/src/main/java/org/teavm/vm/TeaVM.java +++ b/teavm-core/src/main/java/org/teavm/vm/TeaVM.java @@ -396,6 +396,7 @@ public class TeaVM implements TeaVMHost, ServiceRepository { builder.setMinified(minifying); SourceWriter sourceWriter = builder.build(writer); Renderer renderer = new Renderer(sourceWriter, classSet, classLoader, this); + renderer.setProperties(properties); if (debugEmitter != null) { int classIndex = 0; for (String className : classSet.getClassNames()) {