Re: [PROBLEM] Java 9 ClassLoader and trying to load module java.se.se

2017-05-06 Thread Robert Scholte
I guess we need to dive into MethodHandles.Lookup[1] or reconsider MultiRelease JAR [1] http://download.java.net/java/jigsaw/docs/api/java/lang/invoke/MethodHandles.Lookup.html On Sat, 06 May 2017 09:24:51 +0200, Tibor Digana wrote: Hi, @Robert I created branch [1] and added Java 9 m

Re: [PROBLEM] Java 9 ClassLoader and trying to load module java.se.se

2017-05-06 Thread Romain Manni-Bucau
Hi Tibor, (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 deprec