fix comm for jdk 1.7