migrates to jdk-8