Create 1.8 CheckRotation.java