fix for jdk test