NamedAttributeView#size(null) does not throw NPE(win)
Alan Bateman
Alan.Bateman at Sun.COM
Tue Jun 10 06:15:40 PDT 2008
Rajendra Gutupalli wrote:
> Hi Alan,
>
> When we pass null argument to the methods
> NamedAttributeView#(size,read,write)() , it does not throw
> NullPointerException. It happens only in Windows environment. It works
> fine in Linux and Solaris.
Yes indeed - thanks! The Windows implementation needs an explicit null
check for this case.
-Alan.
More information about the nio-dev
mailing list