Support JRE 1.6