Cyclic dependencies during multi-module compilation
orionllmain at gmail.com
Tue May 8 09:05:25 UTC 2018
I cannot reproduce what you said. I'm using JDK 10.0.1. I created two
modules moduleA and moduleB which require each other. When I tried to
compile, javac failed with an error: cyclic dependence involving module.
Do you observer a different behavior?
2018-05-08 15:01 GMT+07:00 Nicolai Parlog <nipa at codefx.org>:
> In early access builds, multi-module compilation would fail if there was
> a dependency cycle between the involved modules. I just realized that
> that is no longer the case in 9.0.1 and later (up to Java 11).
> I'm interested to learn the background for that decision? I considered
> that check A Good Thing - why was it removed?
> so long ... Nicolai
> PGP Key:
> a blog about software development
> high-quality Java/JVM content
> Free and Open Source Software for the City of Dortmund
More information about the jigsaw-dev