problem with Class#getResource

Jochen Theodorou blackdrag at gmx.org
Sun Sep 4 13:35:35 UTC 2016


Hi all,


I am using build 9-ea+132

I have a test, that does in the setup this.class.getResource("/jars"), 
to get a URL to the jars directory. The parent directory is on the 
classpath, but the call returns null... This code is not run in a named 
module.

Can anyone tell me why that returns null with jigsaw?

bye Jochen


More information about the jigsaw-dev mailing list