mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
added failing test for external compiler
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
Cleaning output files:
|
||||
out/production/MoveMethodToSubclass/Base.class
|
||||
out/production/MoveMethodToSubclass/Impl.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/Base.java
|
||||
src/Impl.java
|
||||
End of files
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
import java.util.Collection;
|
||||
|
||||
public class Base {
|
||||
public void method(Collection a) {
|
||||
}
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
public class Base {
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
public class Impl extends Base {
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
import java.util.List;
|
||||
|
||||
public class Impl extends Base {
|
||||
public void method(List a) {
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
|
||||
public class Main {
|
||||
{
|
||||
Impl impl = new Impl();
|
||||
Collection l = new ArrayList();
|
||||
impl.method(l);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user