diff options
author | Paul Phillips <paulp@improving.org> | 2010-02-17 21:26:02 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-02-17 21:26:02 +0000 |
commit | 0e439d6d308e54af6d97853b4ef55f20b77c98e1 (patch) | |
tree | 32ad53e626071096ae4416f565679aae13ccabfa /src/compiler | |
parent | 09816ef0d354e8567c830433f24b2da4a03010a0 (diff) | |
download | scala-0e439d6d308e54af6d97853b4ef55f20b77c98e1.tar.gz scala-0e439d6d308e54af6d97853b4ef55f20b77c98e1.tar.bz2 scala-0e439d6d308e54af6d97853b4ef55f20b77c98e1.zip |
A variety of changes to partest made in a quest...
A variety of changes to partest made in a quest to get it to reveal the
classpaths it is using. No longer will partest actively sabotage your
efforts to pass -Dpartest.debug=true by inserting "-Dpartest.debug="
after yours! And etc. Review by haller (if so inclined.)
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/io/Process.scala | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/io/Process.scala b/src/compiler/scala/tools/nsc/io/Process.scala index 66ed123658..8297ab8d4d 100644 --- a/src/compiler/scala/tools/nsc/io/Process.scala +++ b/src/compiler/scala/tools/nsc/io/Process.scala @@ -34,7 +34,11 @@ import java.util.concurrent.LinkedBlockingQueue object Process { - lazy val javaVmArguments = java.lang.management.ManagementFactory.getRuntimeMXBean().getInputArguments() + def javaVmArguments: List[String] = { + import collection.JavaConversions._ + + java.lang.management.ManagementFactory.getRuntimeMXBean().getInputArguments().toList + } lazy val runtime = Runtime.getRuntime() class Pipe[T](xs: Seq[T], stringify: T => String) { |