HHH-8759 removed java 7 dependency in OsgiClassLoader