]
Galder Zamarreño updated ISPN-671:
----------------------------------
Fix Version/s: (was: 5.0.0.Final)
Affects Version/s: (was: 4.0.0.Final)
Lucene Directory doesn't appropriately throw an IOException in
case read-past-eof happens at chunk size switch
--------------------------------------------------------------------------------------------------------------
Key: ISPN-671
URL:
https://issues.jboss.org/browse/ISPN-671
Project: Infinispan
Issue Type: Bug
Components: Lucene Directory
Affects Versions: 4.1.0.Final, 4.2.0.ALPHA2
Reporter: Sanne Grinovero
Assignee: Sanne Grinovero
Fix For: 4.2.0.ALPHA3, 4.2.0.Final
Lucene can occasionally try to read past end of the stream, we are supposed to throw an
IOException in this cases, but if at the same time the cursor points to an end-of-chunk
the IndexOutput will have created a zero-filled byte array, from which the first element
is returned instead.
Adding tests to make sure the exception handling of these cases matches that of Lucene.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: