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

Richard Eckart de Castilho updated UIMA-6287:
---------------------------------------------
    Description: 
When used in the context of a PEAR, FSArrays internally store the "base" 
version of a feature structure for their elements. When accessing the elements 
e.g. via the {{get\(i)}}, method, this "base" version is converted to the 
proper version for the given PEAR context on access.

However, the {{FSArray.spliterator()}} method does not perform this conversion 
and directly returns the "base" versions.

The {{toArray(...)}} method is also affected by the problem.

  was:
When used in the context of a PEAR, FSArrays internally store the "base" 
version of a feature structure for their elements. When accessing the elements 
e.g. via the {{get\(i)}}, method, this "base" version is converted to the 
proper version for the given PEAR context on access.

However, the {{FSArray.spliterator()}} method does not perform this conversion 
and directly returns the "base" versions.


> FSArray.spliterator() fails to handle PEAR case
> -----------------------------------------------
>
>                 Key: UIMA-6287
>                 URL: https://issues.apache.org/jira/browse/UIMA-6287
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>            Reporter: Richard Eckart de Castilho
>            Assignee: Richard Eckart de Castilho
>            Priority: Major
>             Fix For: 3.2.0SDK
>
>
> When used in the context of a PEAR, FSArrays internally store the "base" 
> version of a feature structure for their elements. When accessing the 
> elements e.g. via the {{get\(i)}}, method, this "base" version is converted 
> to the proper version for the given PEAR context on access.
> However, the {{FSArray.spliterator()}} method does not perform this 
> conversion and directly returns the "base" versions.
> The {{toArray(...)}} method is also affected by the problem.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to