added fix for cobertura for java 8