protected URL findResource (String name)

Finds the resource with the given name. Class loader implementations should override this method.

For resources in named modules then the method must implement the rules for encapsulation specified in the Module getResourceAsStream method. Additionally, it must not find non-" .class" resources in packages of named modules unless the package is opened unconditionally.

Parameters:
name     The resource name

Returns:  URL object for reading the resource; null if the resource could not be found, a URL could not be constructed to locate the resource, the resource is in a package that is not opened unconditionally, or access to the resource is denied by the security manager.

Since:  1.2

@implSpec The default implementation returns null.
@revised 9
@spec JPMS