uschindler commented on PR #868: URL: https://github.com/apache/lucene/pull/868#issuecomment-1118253739
In case you ask: This works both with classpath and module usage. The caller-sensitive parts are `Class#getResource(String)`, `ClassLoader#getResource(String)`, and `Module#getResource(String)`. The returned URL is free to use anywhere so it separates concerns like the `IOSupplier` or `Path`. -- 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