Romain Manni-Bucau
2018-11-13 16:35:12 UTC
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
@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>
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>