do not mark for recompilation files that depend on the files compiled with errors

This commit is contained in:
Eugene Zhuravlev
2016-05-19 15:09:42 +02:00
parent a4877d214f
commit 52436089d9
8 changed files with 74 additions and 12 deletions
@@ -0,0 +1,9 @@
Cleaning output files:
out/production/DontMarkDependentsAfterCompileErrors/packageA/Server.class
End of files
Compiling files:
src/packageA/Server.java
End of files
Compiling files:
src/packageA/Server.java
End of files
@@ -0,0 +1,9 @@
package packageA;
public class Client {
public void method(Server server) {
server.method();
}
}
@@ -0,0 +1,7 @@
package packageA;
public class Server {
public void method() {
System.out.println("Server.method");
}
}
@@ -0,0 +1,7 @@
package packageA;
public class Server {
public void method() {
System.out.println("Server.method"); <some-error!>
}
}