8156143: Module.getResourceAsStream throws unspecified SecurityException with module in custom Layer

Alan Bateman Alan.Bateman at oracle.com
Thu May 26 07:14:44 UTC 2016



On 25/05/2016 22:25, Mandy Chung wrote:
> On a related note (nothing to deal with this issue), the javadoc of ClassLoader::findResource(String) should be updated to reflect that it returns null if access to the resource is denied by the security manager, at least for built-in class loader as an implementation note.
>
>
I agree as it is long standing (but unspecified) behavior.

-Alan.


More information about the jigsaw-dev mailing list