Fix Pinger in jdk6