Mercurial > hg > openjdk > jdk9 > langtools
changeset 3832:9e66cdbce524
8170428: Move src.zip to JDK/lib/src.zip
Reviewed-by: jjg
author | mchung |
---|---|
date | Tue, 29 Nov 2016 15:15:20 -0800 |
parents | ab39653a1e6d |
children | 9f2dff49f59e |
files | src/jdk.jshell/share/classes/jdk/jshell/SourceCodeAnalysisImpl.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/jdk.jshell/share/classes/jdk/jshell/SourceCodeAnalysisImpl.java Tue Nov 29 11:51:01 2016 +0100 +++ b/src/jdk.jshell/share/classes/jdk/jshell/SourceCodeAnalysisImpl.java Tue Nov 29 15:15:20 2016 -0800 @@ -1273,7 +1273,7 @@ } 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)) {