You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/02/10 17:28:18 UTC

[jira] [Commented] (LUCENE-6932) Seek past EOF with RAMDirectory should throw EOFException

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

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

Commit b4fa82b0772718d84db3d177f8ce7450be3c51ac in lucene-solr's branch refs/heads/branch_5_4 from [~mikemccand]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=b4fa82b ]

LUCENE-6932: also fix NIOFSIndexInput to throw EOFE if you seek beyond end of file

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1726231 13f79535-47bb-0310-9956-ffa450edef68


> Seek past EOF with RAMDirectory should throw EOFException
> ---------------------------------------------------------
>
>                 Key: LUCENE-6932
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6932
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/index
>    Affects Versions: master
>            Reporter: Stéphane Campinas
>             Fix For: master, 5.x, 5.4.2
>
>         Attachments: LUCENE-6932.patch, LUCENE-6932.patch, LUCENE-6932.patch, issue6932.patch, testcase.txt
>
>
> In the JUnit test case from the attached file, I call "IndexInput.seek()" on a position past
> EOF. However, there is no EOFException that is thrown.
> To reproduce the error, please use the seed test: -Dtests.seed=8273A81C129D35E2



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

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