[ 
https://issues.apache.org/jira/browse/UIMA-4721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marshall Schor resolved UIMA-4721.
----------------------------------
    Resolution: Fixed

is also fixed in 3.0.0SDKexp

> Nested protect blocks not adding back in all cases
> --------------------------------------------------
>
>                 Key: UIMA-4721
>                 URL: https://issues.apache.org/jira/browse/UIMA-4721
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 2.8.1SDK
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>            Priority: Minor
>             Fix For: 3.0.0SDKexp, 2.8.2SDK
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to