Github user aarondav commented on a diff in the pull request:
https://github.com/apache/incubator-spark/pull/614#discussion_r9972843
--- Diff: repl/src/main/scala/org/apache/spark/repl/SparkILoop.scala ---
@@ -876,7 +876,14 @@ class SparkILoop(in0: Option[BufferedReader],
protected val out: JPrintWriter,
})
def process(settings: Settings): Boolean = savingContextLoader {
+
+ SparkILoop.getAddedJars.foreach(settings.classpath.append(_))
this.settings = settings
+ // work around for Scala bug
+ if (settings.classpath != null)
+ this.settings.classpath.value_= (settings.classpath.value)
--- End diff --
This is actually a proper setter (see
http://dustinmartin.net/getters-and-setters-in-scala/) and you should be able
to do
`this.settings.classpath.value = (settings.classpath.value)`
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. To do so, please top-post your response.
If your project does not have this feature enabled and wishes so, or if the
feature is enabled but not working, please contact infrastructure at
[email protected] or file a JIRA ticket with INFRA.
---