WON-9023: support for java 8 in validation