Merge
This commit is contained in:
commit
2bff185d11
@ -1274,7 +1274,7 @@ class SourceCodeAnalysisImpl extends SourceCodeAnalysis {
|
||||
}
|
||||
List<Path> result = new ArrayList<>();
|
||||
Path home = Paths.get(System.getProperty("java.home"));
|
||||
Path srcZip = home.resolve("src.zip");
|
||||
Path srcZip = home.resolve("lib").resolve("src.zip");
|
||||
if (!Files.isReadable(srcZip))
|
||||
srcZip = home.getParent().resolve("src.zip");
|
||||
if (Files.isReadable(srcZip)) {
|
||||
|
Loading…
Reference in New Issue
Block a user