[EMAIL-140] Fix test execution errors with Java 8.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/email/trunk@1607013 13f79535-47bb-0310-9956-ffa450edef68