I've been trying to use ClassLoader.getResources(String). The entire
application is in one named module, this includes the code that
invokes the ClassLoader method and the resource that it is trying to
find. The Javadoc says:
"Resources in named modules are subject to the encapsulation rules
speci
On 07/02/2018 14:23, Stephen Colebourne wrote:
I've been trying to use ClassLoader.getResources(String). The entire
application is in one named module, this includes the code that
invokes the ClassLoader method and the resource that it is trying to
find.
Can you summarize what you are trying to d
On 7 February 2018 at 16:35, Alan Bateman wrote:
> On 07/02/2018 14:23, Stephen Colebourne wrote:
>>
>> I've been trying to use ClassLoader.getResources(String). The entire
>> application is in one named module, this includes the code that
>> invokes the ClassLoader method and the resource that it
On 07/02/2018 16:56, Stephen Colebourne wrote:
:
I was using maven to create a jar-with-dependencies file, so I could
use jlink. With all the code in one jar file, there shouldn't be any
access barriers to worry about.
ClassLoader.getResources(String) worked just fine until Java 9. The
two APIs