Current Behavior
When using the content assist on specific usages of File::listFiles, an error occurs:

This can be traced back to an ArrayOutOfBoundsException in JDT. For a detailed documentation of the issue, see eclipse-jdt/eclipse.jdt.core#1330
Expected Behavior
No error should occur.