Marshall Schor created UIMA-5704: ------------------------------------ Summary: uv3 edge case failures in setting up JCas Key: UIMA-5704 URL: https://issues.apache.org/jira/browse/UIMA-5704 Project: UIMA Issue Type: Bug Components: Core Java Framework Reporter: Marshall Schor Assignee: Marshall Schor Fix For: 3.0.0SDK
After adding the capability to merge from JCas class definitions into existing type systems, some edge cases appeared causing failures or replication in conformance testing and setting up the offsets in JCas classes when loading them with type systems. Rework to remove redundant checking, and insure offsets are set up in all cases. Use a simplified supertype/superclass validity checker. Remove 2nd map used just for class loader associated with pears (not needed). make type2jcci map only have entries for types having loaded JCas classes (others return null). Insure updateOrValidateAllCallSitesForJCasClass is called for each combo of a type system and class loader, to either set it up, or validate the offsets. fix a bug setting the threadlocal used for a previous (alpha) version of some jcas class impl - in case those jcas classes are hanging around (one is, in a PEAR test case) Skip conformance checking for built-ins. -- This message was sent by Atlassian JIRA (v7.6.3#76005)