fix for a jdk test