Marshall Schor created UIMA-5030:
------------------------------------

             Summary: UV3 Pear Support
                 Key: UIMA-5030
                 URL: https://issues.apache.org/jira/browse/UIMA-5030
             Project: UIMA
          Issue Type: Sub-task
          Components: Core Java Framework
            Reporter: Marshall Schor
            Assignee: Marshall Schor
             Fix For: 3.0.0SDKexp


Pear support for UV3 is based on the concept of a variant of main Java Feature 
Structure class, indicated by a bit in the _flags.  The variant used for Pears 
(called trampoline), when there is a different JCas cover class for a type (due 
to the PEAR having a different classpath for loading these), the variant 
instance is constructed like a normal one except for the flag setting and for 
not having its own int/Object arrays for features; instead it shares those with 
the base feature structure instance. 

We use similar mechanisms as in V2 to manage this.  To locate the trampoline we 
use the same jcas hash map mechanism as in V2, and switch in and out various 
instances of those maps as pear boundaries are crossed (same as in V2).



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

Reply via email to