tests fine locally with jdk6