Refine dirty files computation in case of Java source changes

#KT-17621 In Progress
This commit is contained in:
Denis Zharkov
2017-11-30 15:24:52 +03:00
parent 26393d738f
commit ae6421476d
66 changed files with 634 additions and 140 deletions
@@ -0,0 +1,3 @@
public @interface Ann {
String value() default "1";
}
@@ -0,0 +1,4 @@
@Ann
public class JavaClass {
public String foo() { return null; }
}
@@ -0,0 +1,4 @@
@Ann("")
public class JavaClass {
public String foo() { return null; }
}
@@ -0,0 +1,20 @@
================ Step #1 =================
Cleaning output files:
out/production/module/JavaClass.class
End of files
Exit code: NOTHING_DONE
------------------------------------------
Compiling files:
src/JavaClass.java
End of files
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/UsageKt.class
End of files
Compiling files:
src/usage.kt
End of files
Exit code: ABORT
------------------------------------------
SUCCESS
@@ -0,0 +1,3 @@
fun foo() {
}
@@ -0,0 +1,3 @@
fun bar() {
JavaClass().foo()
}