Hi Romain,

Which class could not be loaded?
JAXB or CDI class?
Some class from Maven dist or another one?

BR,
Tibor

On Tue, Nov 13, 2018 at 5:35 PM Romain Manni-Bucau <rmannibu...@gmail.com>
wrote:

> Hi guys,
>
> did you plan to fix and upgrade classworlds to support java11?
>
> The trick is in org.codehaus.plexus.classworlds.realm.ClassRealm#findClass.
> This method assumes it can't be called outside loadClass(String[,boolean])
> but in j11 there is loadClass(String, String) defaulting to it as well so
> it just fails and breaks a lot of mojo. One lib using that feature is jaxb
> >= 2.3.0 so any mojo relying on jaxb 2.3 is broken.
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <https://rmannibucau.metawerx.net/> | Old Blog
> <http://rmannibucau.wordpress.com> | Github <
> https://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> <
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> >
>

Reply via email to