rzo1 commented on PR #919:
URL: https://github.com/apache/opennlp/pull/919#issuecomment-3693219636

   Should we mention adding
   --add-opens java.base/jdk.internal.loader=ALL-UNNAMED
   as a JVM argument here? Otherwise, it may not be clear to users that OpenNLP 
will fall back to the bootstrap class path for model lookup instead of using 
the UCP class loader
   
   Maybe something like:
   
   ```
   Note: When running on Java 17+, the JVM argument
   --add-opens java.base/jdk.internal.loader=ALL-UNNAMED
   may be required. Without this option, OpenNLP uses the JVM bootstrap class 
path to locate models rather than the UCP class loader. 
   
   For more advanced or non-standard class loading scenarios, using ClassGraph 
and implementing a custom provider may cover additional cases beyond the 
default UCP class loader or JVM bootstrap class path behavior.
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to