> On Sep 8, 2016, at 12:16 AM, Andrej Golovnin <andrej.golov...@gmail.com> 
> wrote:
> 
> Hi all,
> 
> Maybe I'm wrong but I think the JavaDocs for the new method need more
> love. The JavaDocs mention at multiple places that resources are
> loaded, e.g.:
> 
> 1362      * Returns a stream that loads the resources with the given name.
> 
> 1375      * <p> The loading of resources will occur when the returned stream 
> is
> 1376      * evaluated. If the loading of resources results in an
> {@code IOException}

I have filed an issue to clean up the terminology:
   https://bugs.openjdk.java.net/browse/JDK-8165715

This was also brought up in a different thread.  Alan suggests “locating”.

What about:
  The resources will be located when the returned stream is evaluated. If it 
results in an {@code IOException}

Mandy

Reply via email to