mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
when compiler validation fails, still notify callback about the status of the comilation: IDEA-59585
This commit is contained in:
@@ -186,6 +186,9 @@ public class CompileDriver {
|
||||
if (validateCompilerConfiguration(scope, false)) {
|
||||
startup(scope, false, false, callback, null, true, false);
|
||||
}
|
||||
else {
|
||||
callback.finished(true, 0, 0, DummyCompileContext.getInstance());
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isUpToDate(CompileScope scope) {
|
||||
@@ -247,6 +250,9 @@ public class CompileDriver {
|
||||
if (validateCompilerConfiguration(scope, false)) {
|
||||
startup(scope, false, true, callback, null, true, trackDependencies);
|
||||
}
|
||||
else {
|
||||
callback.finished(true, 0, 0, DummyCompileContext.getInstance());
|
||||
}
|
||||
}
|
||||
|
||||
private static class CompileStatus {
|
||||
@@ -327,6 +333,9 @@ public class CompileDriver {
|
||||
if (validateCompilerConfiguration(compileScope, true)) {
|
||||
startup(compileScope, true, false, callback, message, checkCachesVersion, false);
|
||||
}
|
||||
else {
|
||||
callback.finished(true, 0, 0, DummyCompileContext.getInstance());
|
||||
}
|
||||
}
|
||||
|
||||
private CompileScope addAdditionalRoots(CompileScope originalScope, final CompilerFilter filter) {
|
||||
|
||||
Reference in New Issue
Block a user