reckart opened a new issue, #382:
URL: https://github.com/apache/uima-uimaj/issues/382

   **Describe the bug**
   When a PEAR file includes a JCas class for a type that is used as a feature 
range in a type outside of the PEAR, then a warning is produced.
   
   **Expected behavior**
   It should not be problem for a PEAR to bring its own JCas class wrappers as 
long as they are in principle compatible. It is expected that the wrapper 
classes may not be compatible with wrapper classes used outside - that is why 
the PEARs use a trampoline. The warning is misleading.
   
   **Screenshots**
   ```
   2024-08-21 17:42:46 WARN uima - CAS type system type "x.y.z.Token" (loaded 
by jdk.internal.loader.ClassLoaders$AppClassLoader@531d72ca) defines field 
"ttype" with range "class x.y.z.TokenType" (loaded by [CAS Classloader, 
loaded=2]), but JCas getter method is returning "class x.y.z.TokenType" (loaded 
by jdk.internal.loader.ClassLoaders$AppClassLoader@531d72ca) which is not a 
subtype of the declared range.`
   ```
   
   **Please complete the following information:**
    - Version: 3.5.0
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@uima.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to