YARN-30. Fixed tests verifying web-services to work on JDK7. Contributed by Thomas Graves. svn merge --ignore-ancestry -c 1396391 ../../trunk/