Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Alpha levels of JCas classes call TypeSystemImpl.getAdjustedFeatureOffset(...) as part of the initialization for features. This approach was changed for beta and later levels, and this API if used throws an exception (saying it's an old alpha level construct).
Change this to a) not throw an exception, but just issue a warning, and b) return -1, which, if it really is an old jcas class, at run time, if this feature is referenced, it will cause an exception.
This will let people successfully migrate from v3 alpha levels by running for example JCasGen from the Component Description Editor.