Fixing java 8 build
Merge pull request #286 from secondsun/KEYCLOAK-355

Fixing java 8 build