Multiple versions of a non-exported dependency
Alex Buckley
alex.buckley at oracle.com
Wed Aug 31 19:50:44 UTC 2016
On 8/31/2016 12:39 PM, cowwoc wrote:
> I don't even care if you keep the current restrictions in place (allow
> only one version per layer)
There is no such restriction in the Java Platform Module System --
please look at java.lang.reflect.Layer. The restriction to a single
version of each module resides in the 'java' launcher [*] because we
don't want to change the class loading behavior of regular Java
applications.
Alex
[*] That's not the full story, as the boot layer with the application
loader has already been created by the time the launcher runs, but from
the user's point of view it's all "the 'java' launcher".
More information about the jigsaw-dev
mailing list