Or better yet, add the "drain" method to the DirectoryStream class itself. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/nio-discuss/attachments/20120519/ab631c7d/attachment.html