diff options
Diffstat (limited to 'src/library/scala/util/ClassLoader.scala')
-rw-r--r-- | src/library/scala/util/ClassLoader.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scala/util/ClassLoader.scala b/src/library/scala/util/ClassLoader.scala index 6458b0900c..56ed6c70c2 100644 --- a/src/library/scala/util/ClassLoader.scala +++ b/src/library/scala/util/ClassLoader.scala @@ -51,7 +51,7 @@ trait ScalaClassLoader extends JavaClassLoader if (!Modifier.isStatic(method.getModifiers)) throw new NoSuchMethodException(objectName + ".main is not static") - asContext(method.invoke(null, Array(arguments.toArray): _*)) + asContext(method.invoke(null, Array(arguments.toArray).toSequence: _*)) // !!! todo: remove toSequence once newarrays starr is in } } @@ -89,4 +89,4 @@ object ScalaClassLoader { search(getContextLoader()) } -}
\ No newline at end of file +} |