it seems we hit [1] on Hudson [2] when using the Java 6 Oracle compiler, compilation works fine when using Eclipse or Mac Java 6 compiler 

[1] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302954
[2] https://hudson.eclipse.org/sandbox/job/jgit.gerrit/669/console