reset init time in all compiler invocations
This commit is contained in:
@@ -60,7 +60,6 @@ public abstract class CLICompiler<A extends CommonCompilerArguments> {
|
||||
@SuppressWarnings("UnusedDeclaration") // Used via reflection in CompilerRunnerUtil#invokeExecMethod
|
||||
@NotNull
|
||||
public ExitCode execAndOutputXml(@NotNull PrintStream errStream, @NotNull Services services, @NotNull String... args) {
|
||||
K2JVMCompiler.Companion.resetInitStartTime();
|
||||
return exec(errStream, services, MessageRenderer.XML, args);
|
||||
}
|
||||
|
||||
@@ -116,6 +115,8 @@ public abstract class CLICompiler<A extends CommonCompilerArguments> {
|
||||
@NotNull MessageRenderer messageRenderer,
|
||||
@NotNull String[] args
|
||||
) {
|
||||
K2JVMCompiler.Companion.resetInitStartTime();
|
||||
|
||||
A arguments = parseArguments(errStream, messageRenderer, args);
|
||||
if (arguments == null) {
|
||||
return INTERNAL_ERROR;
|
||||
|
||||
Reference in New Issue
Block a user