diff -r 2efb75c09230 -r 1153fab98d25 langtools/src/jdk.jshell/share/classes/jdk/jshell/SourceCodeAnalysisImpl.java --- a/langtools/src/jdk.jshell/share/classes/jdk/jshell/SourceCodeAnalysisImpl.java Wed May 11 20:28:22 2016 +0000 +++ b/langtools/src/jdk.jshell/share/classes/jdk/jshell/SourceCodeAnalysisImpl.java Thu May 12 11:36:08 2016 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -1045,7 +1045,7 @@ public SourceCache(AnalyzeTask originalTask) { this.originalTask = originalTask; - Iterable sources = findSources(); + List sources = findSources(); if (sources.iterator().hasNext()) { StandardJavaFileManager fm = compiler.getStandardFileManager(null, null, null); try { @@ -1145,9 +1145,9 @@ } } - private Iterable availableSources; + private List availableSources; - private Iterable findSources() { + private List findSources() { if (availableSources != null) { return availableSources; }