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

ASF subversion and git services commented on LUCENE-5946:
---------------------------------------------------------

Commit 1624879 from [~rcmuir] in branch 'dev/trunk'
[ https://svn.apache.org/r1624879 ]

LUCENE-5946: fix incorrect javadocs link

> Change SimpleFSDirectory to use newByteChannel
> ----------------------------------------------
>
>                 Key: LUCENE-5946
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5946
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>             Fix For: 5.0
>
>         Attachments: LUCENE-5946.patch
>
>
> Currently our javadocs point to using SimpleFSDirectory "to avoid 
> ClosedByInterruptException".
> But this is really bogus. If you interrupt() a thread doing i/o, then you 
> need to be prepared for the consequences. Its just that RAF is broken and not 
> interruptible at all, but that shouldnt justify us continuing to use it.
> SimpleFSDirectory should be "the most portable", so it should use 
> Files.newByteChannel. And we should remove the javadocs/warnings about 
> ClosedByInterrupt



--
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