java 6 compatibility in 0.0.2