# HG changeset patch # User mchung # Date 1480385109 28800 # Node ID 4b92e12263de4e9770d25746b5356a97144db20a # Parent c4a34c2a656c0c0ed4b6f84ddb8b0b928189919f 8170424: back out src.zip change from JDK-8170424 Reviewed-by: prr diff -r c4a34c2a656c -r 4b92e12263de langtools/src/jdk.jshell/share/classes/jdk/jshell/SourceCodeAnalysisImpl.java --- a/langtools/src/jdk.jshell/share/classes/jdk/jshell/SourceCodeAnalysisImpl.java Mon Nov 28 11:36:43 2016 -0800 +++ b/langtools/src/jdk.jshell/share/classes/jdk/jshell/SourceCodeAnalysisImpl.java Mon Nov 28 18:05:09 2016 -0800 @@ -1273,7 +1273,7 @@ } List result = new ArrayList<>(); Path home = Paths.get(System.getProperty("java.home")); - Path srcZip = home.resolve("lib").resolve("src.zip"); + Path srcZip = home.resolve("src.zip"); if (!Files.isReadable(srcZip)) srcZip = home.getParent().resolve("src.zip"); if (Files.isReadable(srcZip)) {