Just to expound a bit more, changing the statement to avoid the 'new boolean' doesn't work for me; this workaround might be Java version dependent.
A workaround that should work for all Java versions is to declare the field either public or private, eg:
private boolean[] items = new boolean[] {false, false, false};