support for jdk1.6