Github user CodingCat commented on a diff in the pull request:

    https://github.com/apache/incubator-spark/pull/614#discussion_r9972360
  
    --- 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 --
    
    Hi, @pwendell , actually it is value_= ...(weird name..., but it is the 
only way to make setByUser to be true....)
    
    def value_=(arg: T) = {
          setByUser = true
          v = arg
          postSetHook()
        }
    
    so 


---
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
infrastruct...@apache.org or file a JIRA ticket with INFRA.
---

Reply via email to