Skip to content

Commit 0ad63a5

Browse files
committed
Workaround sbt-jmh issue fixed in sbt/sbt-jmh#178
1 parent 600c947 commit 0ad63a5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compilation/src/main/scala/scala/tools/nsc/BenchmarkUtils.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import java.util.stream.Collectors
99
import com.typesafe.config.ConfigFactory
1010

1111
import scala.collection.JavaConverters._
12+
import scala.collection.mutable.ListBuffer
1213
import scala.io.Source
1314
import scala.io.Codec
1415

@@ -86,7 +87,7 @@ object BenchmarkUtils {
8687
def initDeps(corpusSourcePath: Path): Seq[Path] = {
8788
val depsDir = Paths.get(ConfigFactory.load.getString("deps.localdir"))
8889
val depsFile = corpusSourcePath.resolve("deps.txt")
89-
val depsClasspath = Seq.newBuilder[Path]
90+
val depsClasspath = new ListBuffer[Path]
9091
if (Files.exists(depsFile)) {
9192
for (depUrlString <- Files.lines(depsFile).iterator().asScala) {
9293
val depUrl = new URL(depUrlString)

0 commit comments

Comments
 (0)