Uploaded image for project: 'OpenNLP'
  1. OpenNLP
  2. OPENNLP-835

Various bugs in SequenceStreamEventStream

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.7.0
    • Component/s: None

      Description

      The class SequenceStreamEventStream has a few bugs.
      (1) It truncates the stream early if any sequence is empty.
      (2) After reset, it will emit the remaining elements from the underlying sequence that was being iterated over before the reset, and then start over from the beginning.
      (3) It leaks memory by not discarding references to objects it doesn't need anymore.

        Attachments

          Activity

            People

            • Assignee:
              joern Jörn Kottmann
              Reporter:
              steventaschuk Steven Taschuk

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment