Why is it allowed to have several modules with the same name?
Gunnar Morling
gunnar at hibernate.org
Sat Dec 26 11:29:23 UTC 2020
Hi,
So far it was my assumption that the module system would reject
multiple modules with the same name to be present.
But this seems not to be the case; if I have two versions of a module JAR
on my module path -- i.e. two modules which have the same module name and
export the same set of packages -- the java command does not complain (nor
does javac or jlink). Is this an expected behavior?
Thanks,
--Gunnar
More information about the jigsaw-dev
mailing list