jdeps --generate-module-info fails when mixing MR JARs and non-MR JARs

Gunnar Morling gunnar at hibernate.org
Sun Dec 16 12:26:00 UTC 2018


Looks like this already has been reported:

    https://bugs.openjdk.java.net/browse/JDK-8207162

--Gunnar

Am So., 16. Dez. 2018 um 12:15 Uhr schrieb Gunnar Morling
<gunnar at hibernate.org>:
>
> Hi,
>
> I'm trying to run jdeps --generate-module-info for a non-MR JAR which
> depends on an MR JAR.
>
> If I don't specify the "--multi-release" option, it fails with this message:
>
>     "dependency-xyz.jar is a multi-release jar file but
> --multi-release option is not set".
>
> If I specify the option, it fails, too:
>
>     "main-abc.jar is not a multi-release jar file but --multi-release
> option is set".
>
> Is there a way to resolve this issue (I'm on Java 11.0.1+13)? Perhaps
> the value of --multi-release should only be applied to MR JARs
> actually supporting that version?
>
> Thanks for any pointers,
>
> --Gunnar


More information about the jigsaw-dev mailing list