[ 
https://issues.apache.org/jira/browse/LUCENE-6424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir updated LUCENE-6424:
--------------------------------
    Attachment: LUCENE-6424.patch

Updated patch with hard checks on unboxing. While this technically deviates 
from some of the APIs, I don't care, this is our tests, and we need to be able 
to debug them (not return false or no results silently).

I also removed SecureDirectoryStream in these wrappers (its optional anyway, 
and quite complicated: we don't need any more of that), and fixed the hacky 
filesystem in TestIOUtils to be well-behaved. I fixed failures in the new tests 
if it got extrasfs as well.

> DirectoryStream<Path> doesnt wrap with FilterPath
> -------------------------------------------------
>
>                 Key: LUCENE-6424
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6424
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Ryan Ernst
>         Attachments: LUCENE-6424.patch, LUCENE-6424.patch, LUCENE-6424.patch
>
>
> This can cause various mayhem e.g. globs with Files.newDirectoryStream may 
> not work correctly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to