Multiple Versions vs "Module Hell"

David M. Lloyd david.lloyd at redhat.com
Fri Jun 19 13:17:32 UTC 2015


It really comes down to the definition of "more than one version of a 
module".  What is the difference between more than one version of a 
module, and to different modules which happen to have very similar code 
in them?

On 06/19/2015 03:38 AM, Nicolai Parlog wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>   Hi!
>
> I am writing a series about Project Jigsaw[1] and am currently
> drafting an article about the planned features[2, 3].
>
> One paragraph in particular made me wonder:
>
> 	"It is not necessary to support more than one version of a module
> within a single configuration."[4]
>
> At first sight this looks like it would create "Module Hell" instead
> of JAR Hell because instead of multiple JARs depending on different
> versions of the same JAR, we can now have multiple modules depending
> on different versions of the same module.
>
> I guess this is not so but I don't really see why not. I assume
> encapsulating the dependencies is the answer but it would be great to
> have a less speculative and vague explanation. Maybe someone on this
> list can help me out?
>
>   Thanks in advance
>   Nicolai
>
>
> [1] blog.codefx.org/java/dev/motivation-goals-project-jigsaw/
> [2] openjdk.java.net/projects/jigsaw/goals-reqs/
> [3] http://openjdk.java.net/projects/jigsaw/spec/reqs/02
> [4]
> http://openjdk.java.net/projects/jigsaw/goals-reqs/03#multiple-versions
>
>
>
> - --
>
> PGP Key:
>      http://keys.gnupg.net/pks/lookup?op=vindex&search=0xCA3BAD2E9CCCD509
>
> Web:
>      http://codefx.org
>          a blog about software development
>      http://do-foss.de
>          Free and Open Source Software for the City of Dortmund
>
> Twitter:
>      https://twitter.com/nipafx
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.22 (MingW32)
>
> iQIcBAEBAgAGBQJVg9T/AAoJEMo7rS6czNUJxIgP/AwvojqRU2prRebBKKPCmxce
> ZwdozRccbV0ubmGOmezm15JTRThMNWzW6TOHoua5m2i+Iuv5G0CNsAeJI9PoDiS1
> gC0TCOR3A0rTmtZZJcgqXsFDum7XFIpBLGz9BQEdyO9vjYRkbKHMI03TG2ITwz4H
> O9FJ/TtXxFALFPaF+yZ7jJbMfh9XFOlcNKBQwxJow+6N5xwuQdKQhv4Si7UbysRO
> 8yZsAd2p8PsbpXrV0qVhHA2VaCSGoORt6xhNOAhFnBGH1m+3cyvjCPFZdvU4PttV
> 0+2Tbcn+fh1emU7JJ7ChsW1rnTRpVDg4BYnb21cntHweqpMEIRSYlpYon2ZzTQee
> SWZwZ2CGhTWTGNXx4hfJjYmlA88vtHPMkK4h2cAIO6z0gF/3Hv83T2wa80zgpADk
> YMVvhOZUrHXmhaq5WP/CB1xn6RADuVv66WN0qVEhI5HNIowZ8rSuFPuE8T/ezFTi
> kMociRdTpeE2YJz9y1bsiQ1j5zIptOXxvp9rplufmMww3sAOc3pdlLXjb1zoSwpk
> SezNcW1SVMO74QMqjKXuaZXMiMrC2GU9ttrbUHRTPufTY3ggCaC+4RY1CTHgKnWL
> 09Xolp/F9HVoS7Odhml21fLSUzq/7Z6usO4OAL4KFjY/4Q7o9a+gm8N1orrCAb+N
> 1bRa20FV33h38n4N12Bh
> =lvRd
> -----END PGP SIGNATURE-----
>

-- 
- DML


More information about the jigsaw-dev mailing list