RFR: JDK-8161230 - Create java.util.stream.Stream from Iterator / Enumeration

Alan Bateman Alan.Bateman at oracle.com
Mon Aug 8 16:55:51 UTC 2016

On 08/08/2016 17:29, Patrick Reinhart wrote:

> :
> I tried to integrate your suggested changes here:
> http://cr.openjdk.java.net/~reinhapa/reviews/8161230/ClassLoader_StreamMethods.01
I should have been clearer. A lazy implementation of 
resources/systemResources methods won't throw any exceptions, instead 
any I/O exceptions will be wrapped with an UncheckedIOException and then 
thrown from the method that caused the access to take place. There are 
several examples of this already. For the javadoc then this will be 
described in the method description rather than a @throws.


More information about the jigsaw-dev mailing list