How to load resources from base module

Alan Bateman Alan.Bateman at oracle.com
Wed May 17 17:52:47 UTC 2017


On 17/05/2017 18:22, wzberger wrote:

> The resources are mainly images and XML files, located in separate 
> packages. By adding the opens clause it works fine for Class B (called 
> from module a) - however, it does not work for Class A (returns null). 
> I wonder if this is the intended behavior?
I'm not aware of any bugs in this area. Can you expand a bit more on 
"returns null" case. If the packages are open as you say then code in 
both `a` and `b` should be able to locate the resources in `b`.

-Alan


More information about the jigsaw-dev mailing list