public class X { public String[] getStrings() { if (b) { return new String[] {}; } // << wrong feed return x; } }