How to load resources from base module

Alan Bateman Alan.Bateman at oracle.com
Mon May 22 07:55:03 UTC 2017


On 22/05/2017 08:45, wzberger wrote:

> Hm, so how can ClassA access the resource from module com.b directly - 
> without having a class instance of module b?
Does the code in ClassA have any context to work this? How does it know 
the resource is in com.b? The APIs allow you to locate a resource in 
com.b if you have a reference to a class in com.b or the Module object 
for com.b.

-Alan


More information about the jigsaw-dev mailing list