mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-11 02:48:20 +00:00
Merge
This commit is contained in:
commit
f4f6ea13ba
@ -1273,7 +1273,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…
x
Reference in New Issue
Block a user