jdk 1.8 -> 1.7