Actually now that I think about it the Java 6 is wrong too, I think it is Java 5, which we don't support.  But this class should be refactored anyways in another PR.