closure-compiler: requires Java 7

Closes #27938.