Minor. Added comment.

This commit is contained in:
Evgeny Gerashchenko
2013-08-22 20:44:34 +04:00
committed by Pavel V. Talanov
parent 42a6543c25
commit d62f946238
@@ -41,6 +41,7 @@ public class MockLibraryUtil {
try {
ByteArrayOutputStream outStream = new ByteArrayOutputStream();
// Running compiler in custom class loader to avoid effects caused by replacing Application with another one created in compiler.
File kotlinCompilerJar = new File(PathUtil.getKotlinPathsForDistDirectory().getLibPath(), "kotlin-compiler.jar");
URLClassLoader classLoader = new URLClassLoader(new URL[] {kotlinCompilerJar.toURI().toURL()}, Object.class.getClassLoader());