[ 
https://issues.apache.org/jira/browse/LUCENE-6791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14737005#comment-14737005
 ] 

Uwe Schindler commented on LUCENE-6791:
---------------------------------------

Looks fine, I would just use a lambda (see MMapDir unmapper in trunk).

> sketchy MockFileSystem reflection should be in AccessController block
> ---------------------------------------------------------------------
>
>                 Key: LUCENE-6791
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6791
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-6791.patch
>
>
> mockfilesystems needs to handle implCloseChannel to track leaks and so on in 
> tests. But this requires some sketchy access to internal classes 
> (sun.nio.ch). We should allow this to be contained to just the 
> test-framework.jar



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to