> On May 25, 2016, at 2:40 AM, Alan Bateman <alan.bate...@oracle.com> wrote: > > This is minor mismatch between javadoc + implementation when > getResourceAsStream is called on a module in a custom Layer and access is > denied by the security manager. It's a one line fix, this is mostly just a > new test: > http://cr.openjdk.java.net/~alanb/8156143/webrev/
Looks okay. 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. Mandy