fix for jdk6 / 7, disable 8