uschindler edited a comment on pull request #567:
URL: https://github.com/apache/lucene/pull/567#issuecomment-1003365974


   > In general a simple hotfix rule for 
`Class#getClassLoader().getResource(xxx)` is: Replace by 
`Class#getResource("/".concat(xxx))`
   
   An alternative is `Class#getModule().getResourceAsStream(xxx)`, which has 
similar behaviour like old code (but is limited to one module).
   
   But not for the Kuromoji/Nori code, as this would limit to only current 
module so breaking backwards.


-- 
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: issues-unsubscr...@lucene.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to