Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-4721

Nested protect blocks not adding back in all cases

    XMLWordPrintableJSON

Details

    Description

      The protect block mechanism has a provision to handle nested protect blocks. It does this by keeping a stack of nested contexts.

      The close of the protect block checks to see if nested protect blocks were not closed. If this is the case, the nested ones are closed automatically starting with the most deeply nested one. The logic for doing this has an off-by-one error, which would result in an array index out of bounds.

      Attachments

        Activity

          People

            schor Marshall Schor
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: