Attributes.readAttributes() throw AIOOBE
Rajendra.Gutupalli at Sun.COM
Wed Mar 11 06:04:50 PDT 2009
Could you please clarify me following issues that I noticed while trying
NIO file system APIs.
1) As Paths.get() method throws InvalidPathException(IPE) for invalid
paths, I was expecting Paths.get("\\\\ \\
"); to throw IPE as this path does not contain valid server and share
names. Could you please tell me why doesn't this method throw IPE for
this UNC path.
2) I observed Attributes.readAttributes(path, ",,," ); throws
ArrayIndexOutOfBoundsException, I think as per the spec it should return
More information about the nio-dev