[NF] Support for Java 1.8.