Force to code to compile with Java 8.