1.0.2 support for java 7