jmod and modular MR jars

Ryan Schmitt rschmitt at
Fri Oct 13 17:45:06 UTC 2017

I noticed that `jmod create` seems to work fine when module-info.class is
located in the root of the jar supplied on the classpath, but when it is
located at META-INF/versions/9/module-info.class I get a stack trace

Error: module-info.class not found module-info.class not found
at jdk.jlink/$JmodFileWriter.
at jdk.jlink/$JmodFileWriter.write(
at jdk.jlink/
at jdk.jlink/
at jdk.jlink/

Is this a bug?

More information about the jdk9-dev mailing list