TEIID-3081 fixing issues with running tests under java 8