Fixed another java 6 bug