from jdk 1.5 to 1.7