apply java 8