[ 
https://issues.apache.org/jira/browse/LUCENE-976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael McCandless updated LUCENE-976:
--------------------------------------

    Attachment: LUCENE-976.patch

Simple patch to fix this.  I also added a unit test that looks @ all
methods in FSDirectory that return IndexInput or a subclass and
asserts that MMapDirectory overrides all such methods.



> MMapDirectory is missing newly added openInput method to FSDirectory
> --------------------------------------------------------------------
>
>                 Key: LUCENE-976
>                 URL: https://issues.apache.org/jira/browse/LUCENE-976
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 2.2
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>         Attachments: LUCENE-976.patch
>
>
> This issue was caused by the optimizations in LUCENE-888.  The new
> openInput(String name, int bufferSize) added to FSDirectory was not
> also overridden by MMapDirectory.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to