Skip to content

Commit

Permalink
Don't declare parameters of type Iterable<Path>
Browse files Browse the repository at this point in the history
context: https://bugs.openjdk.java.net/browse/JDK-8150111

--
PiperOrigin-RevId: 150390207
MOS_MIGRATED_REVID=150390207
  • Loading branch information
cushon authored and meteorcloudy committed Mar 17, 2017
1 parent 5ab0ec5 commit 3be4459
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
import java.nio.file.attribute.BasicFileAttributes;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Enumeration;
import java.util.LinkedHashMap;
Expand Down Expand Up @@ -437,7 +438,7 @@ private Deps.Dependencies getDeps() throws IOError {
}

private void compileLib(
Path jar, Iterable<Path> classpath, Iterable<? extends JavaFileObject> units)
Path jar, Collection<Path> classpath, Iterable<? extends JavaFileObject> units)
throws IOException {
final Path outdir = temp.newFolder().toPath();
JavacFileManager fm = new JavacFileManager(new Context(), false, UTF_8);
Expand Down

0 comments on commit 3be4459

Please sign in to comment.