
Gerrit targets Java 6, not Java 7. If Buck is run under JDK 7 the javac compiler by default will assume -source 7 -target 7 and write incompatible class files. Ensure the compiler builds for Java 6 language features and Java 6 class format by passing the correct flags. Change-Id: Ib2c013a6d1955d94b75cfd5d967d2f45ef4d5486