Compatible java < 1.7