This commit is contained in:
Andrey Breslav
2012-03-09 13:58:41 +04:00
parent cebe80e049
commit 1a447e4ff3
@@ -257,7 +257,7 @@ public class JetCompiler implements TranslatingCompiler {
context.addMessage(INFORMATION, "Using kotlinHome=" + kotlinHome, "", -1, -1);
context.addMessage(INFORMATION, "Invoking in-process compiler " + compilerClassName + " with arguments " + Arrays.asList(arguments), "", -1, -1);
Object rc = exec.invoke(kompiler.newInstance(), out, arguments);
Object rc = exec.invoke(null, out, arguments);
if (rc instanceof Integer) {
return ((Integer) rc).intValue();
}