DirectoryStream Iterator

Brian Dellisanti briandellisanti at gmail.com
Sat Jun 27 11:03:59 PDT 2009


DirectoryStream docs say:

"The iterator's remove method removes the directory entry for the last
element returned by the iterator, as if by invoking the delete method.
If an I/O error or security exception occurs then
ConcurrentModificationException is thrown with the cause."

Will the iterator remain valid after the ConcurrentModificationException?



More information about the nio-discuss mailing list