[ 
https://issues.apache.org/jira/browse/SPARK-10173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14708396#comment-14708396
 ] 

SonixLegend commented on SPARK-10173:
-------------------------------------

I have tested scala 2.11 ILoop and IMain on Java program and they works 
successfully. The error is just said Java call Spark Repl via Scala 2.11. Not 
Spark Shell or Scala Shell.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to