Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ public static PathTree getSnapshotsBaseTree() {
final String fileUrlStr = jarUrlStr.substring("jar:".length(),
jarUrlStr.length() - ("!/" + SNAPSHOTS_DIR_NAME).length());
final Path p = Path.of(URI.create(fileUrlStr));
return snapshotsBaseRoot = new MultiRootPathTree(PathTree.ofDirectoryOrArchive(p), srcTree);
final PathTree jarPathTree = PathTree.ofDirectoryOrArchive(p);
return snapshotsBaseRoot = srcTree == null ? jarPathTree : new MultiRootPathTree(jarPathTree, srcTree);
} else {
throw new IllegalStateException("Unexpected URL protocol in " + url);
}
Expand Down
Loading