Skip to content
Permalink
Browse files

Added compilation failure on symbols hack to get Scala classes to loa…

…d correctly
  • Loading branch information...
Chip Senkbeil
Chip Senkbeil committed Aug 26, 2014
1 parent a220639 commit 2ff1d86c98dd54095f6d2214bc8610cfeca83aa1
Showing with 5 additions and 0 deletions.
  1. +5 −0 repl/src/main/scala/org/apache/spark/repl/SparkIMain.scala
@@ -319,6 +319,11 @@ import org.apache.spark.util.Utils
* @param urls The list of items to add to the compile and runtime classpaths
*/
def addUrlsToClassPath(urls: URL*): Unit = {
// TODO: Investigate how to get Scala classes to be loaded without relying on this error
intp.totalSilence = true
intp.interpret("$reservedFailureIdentifier")
intp.totalSilence = false

urls.foreach(_runtimeClassLoader.addNewUrl) // Add jars/classes to runtime for execution
updateCompilerClassPath(urls: _*) // Add jars/classes to compile time for compiling
}

0 comments on commit 2ff1d86

Please sign in to comment.
You can’t perform that action at this time.