diff -r 2b4da2bf6660 -r bb52b5514ad5 langtools/src/jdk.jshell/share/classes/jdk/jshell/SourceCodeAnalysisImpl.java --- a/langtools/src/jdk.jshell/share/classes/jdk/jshell/SourceCodeAnalysisImpl.java Wed Nov 16 11:53:24 2016 -0800 +++ b/langtools/src/jdk.jshell/share/classes/jdk/jshell/SourceCodeAnalysisImpl.java Wed Nov 16 12:12:02 2016 -0800 @@ -102,11 +102,13 @@ import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.stream.Collectors; + import static java.util.stream.Collectors.collectingAndThen; import static java.util.stream.Collectors.joining; import static java.util.stream.Collectors.toCollection; import static java.util.stream.Collectors.toList; import static java.util.stream.Collectors.toSet; + import java.util.stream.Stream; import java.util.stream.StreamSupport; @@ -129,6 +131,8 @@ import static jdk.jshell.SourceCodeAnalysis.Completeness.DEFINITELY_INCOMPLETE; import static jdk.jshell.TreeDissector.printType; +import static java.util.stream.Collectors.joining; + /** * The concrete implementation of SourceCodeAnalysis. * @author Robert Field