don't depend on JDK8 things