You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "SonixLegend (JIRA)" <ji...@apache.org> on 2015/08/23 09:51:45 UTC

[jira] [Created] (SPARK-10173) valueOfTerm get none when SparkIMain used on Java

SonixLegend created SPARK-10173:
-----------------------------------

             Summary: valueOfTerm get none when SparkIMain used on Java 
                 Key: SPARK-10173
                 URL: https://issues.apache.org/jira/browse/SPARK-10173
             Project: Spark
          Issue Type: Bug
          Components: Spark Shell
    Affects Versions: 1.4.1
         Environment: Spark 1.4.1 Scala 2.11 Java 1.7.0_21 Windows 8
            Reporter: SonixLegend
             Fix For: 1.4.2


When I use Spark Repl on my Java project, I found if I had used the class SparkIMain via Scala 2.10 then the function valueOfTerm could get the term value, but if I had used same class via Scala 2.11, the valueOfTerm gave me a "none" result, and I checked the source code, found the line "sym.owner.companionSymbol" got none. Can you fix it? I used a alternative method, change valueOfTerm to eval, then it will get current result.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org