IDEA-93760 External build: incremental make does not pick up non-compilable overriding method throwing checked exception

This commit is contained in:
Eugene Zhuravlev
2012-10-31 22:01:57 +01:00
parent e5c0f35aa0
commit 14a98a621b
8 changed files with 44 additions and 1 deletions
@@ -0,0 +1,12 @@
Cleaning output files:
out/production/RemoveThrowsInBaseMethod/ThrowingTop.class
End of files
Compiling files:
src/ThrowingTop.java
End of files
Cleaning output files:
out/production/RemoveThrowsInBaseMethod/ThrowingBottom.class
End of files
Compiling files:
src/ThrowingBottom.java
End of files
@@ -0,0 +1,4 @@
public class ThrowingTop {
public void spoil() {
}
}
@@ -0,0 +1,12 @@
<testData>
<deleted_by_make>
<file path="classes/ThrowingTop.class" />
<file path="classes/ThrowingBottom.class" />
</deleted_by_make>
<recompile>
<file path="source/ThrowingBottom.java" />
</recompile>
</testData>
@@ -0,0 +1,2 @@
public class Checked extends Exception {
}
@@ -0,0 +1,5 @@
public class ThrowingBottom extends ThrowingTop{
@Override
public void spoil() throws Checked {
}
}
@@ -0,0 +1,4 @@
public class ThrowingTop {
public void spoil() throws Checked {
}
}