The GitHub Actions job "Java CI with Maven" on uima-uimaj.git/bugfix/384-Selecting-a-class-from-a-CAS-can-yield-a-classcast-exception-if-the-CAS-contains-subclasses-of-the-type-not-locally-known has failed. Run started by GitHub user reckart (triggered by reckart).
Head commit for run: 454df76a4fa1965fbf82de6ab5639e1f6a3c5fcf / Richard Eckart de Castilho <[email protected]> Issue #384: Selecting a class from a CAS can yield a classcast exception if the CAS contains subclasses of the type not locally known - Fix `select(SuperType.class)` in PEAR contexts so subtype FSes whose JCas wrapper was loaded by the parent classloader get re-wrapped using the PEAR's override of the nearest ancestor type instead of being returned as parent-classloader instances (which would `ClassCastException` at the caller). - In `FSClassRegistry.getGeneratorsForTypeAndSubtypes`, when in PEAR mode and the resolved `JCasClassInfo` is not actually a PEAR override, walk further up the type hierarchy for an ancestor whose JCas class *is* PEAR-overridden, and use that ancestor's generator. Report URL: https://github.com/apache/uima-uimaj/actions/runs/26410610812 With regards, GitHub Actions via GitBox
