This commit is contained in:
David Dehaven 2016-12-16 11:58:18 -08:00
commit 2bff185d11

View File

@ -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)) {