Github user dbtsai commented on the issue:
https://github.com/apache/spark/pull/22246
@viirya The reflection trick we use in
`scala.reflect.internal.util.ScalaClassLoader` doesn't work when the REPL is
called from test. Do you have any idea about it? Thanks.
```
sbt.ForkMain$ForkError: java.lang.NoSuchMethodException:
scala.reflect.internal.util.ScalaClassLoader$.savingContextLoader(scala.Function0)
at java.lang.Class.getDeclaredMethod(Class.java:2130)
at org.apache.spark.repl.SparkILoop.runClosure(SparkILoop.scala:156)
at org.apache.spark.repl.SparkILoop.process(SparkILoop.scala:178)
at org.apache.spark.repl.Main$.doMain(Main.scala:78)
at org.apache.spark.repl.ReplSuite.runInterpreter(ReplSuite.scala:56)
at
org.apache.spark.repl.ReplSuite$$anonfun$11.apply(ReplSuite.scala:141)
```
@srowen The other two files in 2.11 can not be compiled in 2.12 . I removed
the POM hack as well. Thanks for pointing out.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]