OsgiClassLoader introduces dependency on Java 7

Description

org.hibernate.osgi.OsgiClassLoader introduces a dependency on Java 7 in the form of using the method java.lang.ClassLoader#getClassLoadingLock which was added in Java 7

See https://forum.hibernate.org/viewtopic.php?f=1&t=1029933

Environment

None

Status

Assignee

Brett Meyer

Reporter

Steve Ebersole

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

4.3.0.CR1

Priority

Blocker
Configure