]
Mircea Markus updated ISPN-671:
-------------------------------
Fix Version/s: 4.2.0.ALPHA3
(was: 4.2.0.BETA1)
Lucene Directory doesn't appropriately throw an IOException in
case read-past-eof happens at chunk size switch
--------------------------------------------------------------------------------------------------------------
Key: ISPN-671
URL:
https://jira.jboss.org/browse/ISPN-671
Project: Infinispan
Issue Type: Bug
Components: Lucene Directory
Affects Versions: 4.0.0.Final, 4.1.0.Final, 4.2.0.ALPHA2
Reporter: Sanne Grinovero
Assignee: Sanne Grinovero
Fix For: 4.2.0.ALPHA3, 4.2.0.Final, 5.0.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.
-
If you think it was sent incorrectly contact one of the administrators: