remove java 8 features