dweiss commented on a change in pull request #567:
URL: https://github.com/apache/lucene/pull/567#discussion_r774530775



##########
File path: 
lucene/test-framework/src/java/org/apache/lucene/tests/util/LuceneTestCase.java
##########
@@ -2060,18 +2061,14 @@ protected Path getDataPath(String name) throws 
IOException {
     try {
       return Paths.get(
           IOUtils.requireResourceNonNull(this.getClass().getResource(name), 
name).toURI());
-    } catch (Exception e) {
-      throw new IOException("Cannot find resource: " + name, e);
+    } catch (URISyntaxException e) {

Review comment:
       Sorry - not just the test framework - test classes too. This is related 
to running tests as a module. We can leave it until the problem surfaces though.




-- 
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