From 9c2972379459f655f20da7cba88707ed27ac7c86 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Fri, 31 May 2013 03:21:05 -0700 Subject: Revert "SI-6039 Harden against irrelevant filesystem details" This reverts commit b0758f5cb9d966b940933d48bdbb45d17a80de66. This commit sent startup time through the roof, at least in some circumstances (it is presumably related to one's current working directory.) --- test/files/run/t6039.scala | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 test/files/run/t6039.scala (limited to 'test/files/run') diff --git a/test/files/run/t6039.scala b/test/files/run/t6039.scala deleted file mode 100644 index 9d811b0634..0000000000 --- a/test/files/run/t6039.scala +++ /dev/null @@ -1,18 +0,0 @@ -import scala.tools.partest._ - -object Test extends StoreReporterDirectTest { - private def compileCode(): Boolean = { - new java.io.File("util") mkdirs - val classpath = List(sys.props("partest.lib"), ".") mkString sys.props("path.separator") - log(s"classpath = $classpath") - compileString(newCompiler("-cp", classpath, "-d", testOutput.path))(packageCode) - } - def code = ??? - def packageCode = """ -package scala.bippy -class A { new util.Random() } -""" - def show(): Unit = { - assert(compileCode(), filteredInfos take 1 mkString "") - } -} -- cgit v1.2.3