RFR JDK-8147539: (zipfs) ZipPath should throw ProviderMismatchException when invoking register()

Alan Bateman Alan.Bateman at oracle.com
Wed May 25 19:49:13 UTC 2016



On 25/05/2016 20:01, Xueming Shen wrote:
> :
>
> Sure, if there is such "plan".
>
> http://cr.openjdk.java.net/~sherman/8139956_8146754_8147539_8153248/webrev 
>
>
> Here is the updated webrev with the @module tag.
>
In ZipPath.register then it would be good to include a comment to say 
something "watcher must be associated with a different provider" as it 
might not be immediately clear why ProviderMismatchException is thrown.

The rest looks good to me.

-Alan


More information about the nio-dev mailing list