Support argfiles in kotlin compiler

Using '-Xargfile=path/to/argfile' will substitute
that argument with the content of argfile.

See KT-24472
This commit is contained in:
Dmitry Savvinov
2018-05-17 21:36:59 +03:00
parent ede2e227c2
commit 43467516ef
18 changed files with 210 additions and 29 deletions
@@ -266,10 +266,14 @@ public class Preloader {
}
}
private static class PreloaderException extends RuntimeException {
public static class PreloaderException extends RuntimeException {
public PreloaderException(String message) {
super(message);
}
public PreloaderException(String message, Throwable cause) {
super(message, cause);
}
}
private static class Handler extends ClassHandler {