Resolve resource leaks in tests by upgrading to Java 7.
4 files changed