eliminated floormod and floordiv which are not present in JRE 1.7