LUCENE-5886: allow precommit to be run with java8. still TODO: we need to be able to actually detect 1.9