Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
JCasIterator should return false on hasNext() after it has been (auto)destroyed. Otherwise it may call hasNext() on the underlying CollectionReader after that has been destroyed and the contract says that the reader must not be used anymore after it has been closed/destroyed.