Re: [PROBLEM] Java 9 ClassLoader and trying to load module java.se.se
(If it helps) I guess detecting you run on java 9 you can add some
--add-opens on the CLI as a workaround. Otherwise a double compilation can
be needed or just provide a jar with these classes in the classloader which
will override the JVM ones - this is how it should work for the deprecated
jaxb typically for instance.
> @Robert I created branch  and added Java 9 method call
> cls)* to our *ClassLoader*, see the diff  and there is my playground for
> my debugging purposes.
> After debugging this code does not load *javax.xml.ws.Holder*.
> This method is protected and if you call *setAccessible(true) *the JVM
> throws exception because this method cannot be called in *java.lang* or
> *java.base* module.
> I guess this class loader must be compiled in java 9 and the protected
> method extended and then maybe the module *"java.se.ee <http://java.se.ee > >"*
> would be loaded.
> Do you have any idea to solve this problem and load *javax.xml.ws.Holder*