Java 1.7 changes on rest of the project