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