diff options
author | Paul Phillips <paulp@improving.org> | 2011-06-14 16:34:02 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-06-14 16:34:02 +0000 |
commit | e4f800b20550b62d5186130c6f06281f3df3ed90 (patch) | |
tree | 869779cb8fbc32b9888e34b7ec67813bcf884a89 /src/compiler/scala/tools/ant/Scalac.scala | |
parent | 7fa4ca91ffc1d36f0cb1fe89998578aea242e2f9 (diff) | |
download | scala-e4f800b20550b62d5186130c6f06281f3df3ed90.tar.gz scala-e4f800b20550b62d5186130c6f06281f3df3ed90.tar.bz2 scala-e4f800b20550b62d5186130c6f06281f3df3ed90.zip |
More batched performance improvements for io.{ ...
More batched performance improvements for io.{ File, Classpath } and
others in the neighborhood. Avoids calling the expensive
getCanonicalPath in favor of getAbsolutePath: I note that because
it has the potential to change compiler behavior at the borders.
No review.
Diffstat (limited to 'src/compiler/scala/tools/ant/Scalac.scala')
-rw-r--r-- | src/compiler/scala/tools/ant/Scalac.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/ant/Scalac.scala b/src/compiler/scala/tools/ant/Scalac.scala index 6e05234892..f8d5f74f50 100644 --- a/src/compiler/scala/tools/ant/Scalac.scala +++ b/src/compiler/scala/tools/ant/Scalac.scala @@ -615,7 +615,7 @@ class Scalac extends ScalaMatchingTask with ScalacShared { file } - val res = execWithArgFiles(java, List(writeSettings.getCanonicalPath)) + val res = execWithArgFiles(java, List(writeSettings.getAbsolutePath)) if (failonerror && res != 0) buildError("Compilation failed because of an internal compiler error;"+ " see the error output for details.") |