[hibernate-dev] OGM: fixing the build on Java8