[hibernate-dev] Depending on JAXB / JDK11 compatibility

Sanne Grinovero sanne at hibernate.org
Wed May 2 14:38:36 EDT 2018


With JAXB being part of the JDK in Java 8, Hibernate ORM doesn't list
it as a runtime dependency.

Java 9 users have been suggested to use the JVM option "--add-modules
java.xml.bind" to avoid the JVM hiding the JAXB library from
classpath.

With Java 11 the java.xml.bind is no longer available; what should we
suggest to users?

Should we list it as an explicit dependency in the released pom files?

Thanks,
Sanne


More information about the hibernate-dev mailing list