[
https://issues.apache.org/jira/browse/LUCENE-6932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15141089#comment-15141089
]
ASF subversion and git services commented on LUCENE-6932:
---------------------------------------------------------
Commit ad2c18cd72751cd80c11b4916980fb510eaf8f9f 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=ad2c18c ]
LUCENE-6932: RAMDirectory's IndexInput should always throw EOFE if you seek
beyond the end of the file and then try to read
git-svn-id:
https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1725112
13f79535-47bb-0310-9956-ffa450edef68
Conflicts:
lucene/CHANGES.txt
> 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: [email protected]
For additional commands, e-mail: [email protected]