Verify java 6 compatibility