check constructor only implicitly called constructor (IDEA-164500)

This commit is contained in:
Anna.Kozlova
2016-11-25 12:50:54 +01:00
parent 9049591435
commit df3abfd8c3
3 changed files with 53 additions and 59 deletions
@@ -0,0 +1,17 @@
class Base {
String[] items;
public Base(String ... items) throws Exception {
this.items = items;
}
public Base() {
this.items = null;
}
}
class Derived extends Base {
public Derived() {}
}
class Derived1 extends Base {}