automatic modules with defineModulesWithManyLoaders

Alan Bateman Alan.Bateman at oracle.com
Sun Apr 7 14:56:27 UTC 2019


On 07/04/2019 11:24, Michał Zegan wrote:
> Hello,
> Is it true that automatic modules do not work if I create a module layer
> using defineModulesWithManyLoaders? Automatic modules have no explicitly
> defined packages so it seems they just do not work. Is there any
> workaround if I want to use this without changing to a single class loader?
>
This sounds like JDK-8211825 [1]. Can you check if you see this issue 
with JDK 12?

-Alan

[1] https://bugs.openjdk.java.net/browse/JDK-8211825


More information about the jigsaw-dev mailing list