fix jdk 1.7 new grammer