is ClassLoader.loadClass() supposed to work on module-info classes?

Alan Bateman Alan.Bateman at
Fri Dec 4 08:41:32 UTC 2015

On 04/12/2015 08:22, Cédric Champeau wrote:
> Obviously compiling a single JDK 9 module-info file seems
> pretty cheap, but if you think about the fact that you will want to have a
> JDK 8 installed to compile your classes, plus a JDK 9 Jigsaw installed to
> compile the descriptor, and then add that you have to fork the compilers,
> the cost of this operation is visible both in terms of infrastructure and
> build time.
One thing to keep in mind is JEP 247 and the new javac -release option. 
Yes, a big change from today's world where the older JDK is used to 
build but it opens up the possibility for these more complicated builds 
to have only one JDK on the build system. There's a connection to the 
multi-release JAR proposal in JEP 238 too.


More information about the jigsaw-dev mailing list