summaryrefslogtreecommitdiff
path: root/test/files/run/t6240a
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2013-10-20 14:34:35 +0200
committerEugene Burmako <xeno.by@gmail.com>2013-10-20 14:34:35 +0200
commitb6d39e0338292c8918348712f51bb7cf868622ad (patch)
tree71b495a037c9db6cf9e61dce166ce22838e0f158 /test/files/run/t6240a
parent8848f241616627b0c5beca38a5107c4eca3e10fd (diff)
downloadscala-b6d39e0338292c8918348712f51bb7cf868622ad.tar.gz
scala-b6d39e0338292c8918348712f51bb7cf868622ad.tar.bz2
scala-b6d39e0338292c8918348712f51bb7cf868622ad.zip
hotfix for reflection tests on Windows
Removes the Unix-specific command-line sanity check put in place in recently committed reflection tests. On Windows, something like `C:\Java\jdk1.6.0_24-x64\jre\bin\java` might be a valid command (pointing to `java.exe` or `java.bat`) even if the eponymous file does not exist.
Diffstat (limited to 'test/files/run/t6240a')
-rw-r--r--test/files/run/t6240a/Test.scala1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/files/run/t6240a/Test.scala b/test/files/run/t6240a/Test.scala
index 6ae43c4809..05c3678cbe 100644
--- a/test/files/run/t6240a/Test.scala
+++ b/test/files/run/t6240a/Test.scala
@@ -11,6 +11,5 @@ object Test extends App {
assert(new File(testClassesDir).exists, testClassesDir)
val fullTestClassesClasspath = testClassesDir + prop("path.separator") + prop("java.class.path")
val javaBinary = if (new File(prop("javacmd")).isAbsolute) prop("javacmd") else prop("java.home") + "/bin/" + prop("javacmd")
- assert(new File(javaBinary).exists, javaBinary)
List(javaBinary, "-cp", testClassesDir, "-Dlaunch.classpath=" + fullTestClassesClasspath, "StepOne").!
} \ No newline at end of file