lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stéphane Campinas (JIRA) <j...@apache.org>
Subject [jira] [Commented] (LUCENE-6932) Seek past EOF with RAMDirectory should throw EOFException
Date Mon, 11 Jan 2016 09:42:39 GMT

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

Stéphane Campinas commented on LUCENE-6932:
-------------------------------------------

Works for me [~mikemccand], and it is much cleaner that my proposed fix!

> 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: Trunk
>            Reporter: Stéphane Campinas
>         Attachments: 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


Mime
View raw message