RFR JDK-8066577: Cleanup and make better use of the stream API in the jrtfs code

Alan Bateman Alan.Bateman at oracle.com
Mon Aug 29 18:08:56 UTC 2016


On 29/08/2016 17:26, Xueming Shen wrote:

>
>
> Hi
>
> Webrev has been updated accordingly
>
> http://cr.openjdk.java.net/~sherman/8066577/webrev/
>
> (1) the iterator is to synchronize on JrtDirectoryStream.this
>
> (2) to use Collections.singleton() as Claes suggested. It appears the 
> "singleton set" is
>
>      better choice (light) in this case.
This looks okay to me.


More information about the core-libs-dev mailing list