JAXB samples fail · Issue #922 · javaee/jaxb-v2 (original) (raw)
This repository was archived by the owner on Feb 5, 2019. It is now read-only.
This repository was archived by the owner on Feb 5, 2019. It is now read-only.
Description
Because of xjc split some samples began to fail.
e.g. inline-customize fails with:
[com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
com.sun.xml.bind.api.impl.NameConverter is an interface, and JAXB can't handle interfaces.
There are several problems:
- jaxb-impl.jar should be on classpath.
-jaxb-impl.jar is now loaded by different classloader. Which is in parents of JAXB masking classloader.
Affected Versions
[2.2.7]