compliance JRE 1.7