AVRO-878 identified some problems when running Avro under Java 7. We should get all tests to pass when running under Java 7.
I committed this.
I'll commit this soon unless someone objects.
Here's a patch that makes all Java tests pass for me under Java 7. The only problems I found were that JUnit tests are no longer run in the order they are defined, which broke two tests, fixed here.