diff --git a/src/main/java/com/rapid7/recog/provider/RecogMatchersProvider.java b/src/main/java/com/rapid7/recog/provider/RecogMatchersProvider.java index aab1077..5922a46 100644 --- a/src/main/java/com/rapid7/recog/provider/RecogMatchersProvider.java +++ b/src/main/java/com/rapid7/recog/provider/RecogMatchersProvider.java @@ -86,7 +86,7 @@ private void parseFiles(Path path) { if (Files.isDirectory(path)) { parseFromWalkablePath(path); } else if (Files.isRegularFile(path) && path.getFileName().toString().endsWith(".zip")) { - try (FileSystem fs = FileSystems.newFileSystem(path, null)) { + try (FileSystem fs = FileSystems.newFileSystem(path, (java.lang.ClassLoader)null)) { parseFromWalkablePath(fs.getRootDirectories().iterator().next()); } catch (IOException exception) { LOGGER.warn("Failed to open zip file {}.", path, exception);