Github user heathermiller commented on a diff in the pull request:
https://github.com/apache/spark/pull/1929#discussion_r16749371
--- Diff: repl/src/main/scala/org/apache/spark/repl/SparkIMain.scala ---
@@ -308,6 +312,56 @@ import org.apache.spark.util.Utils
}
}
+ /**
+ * Adds any specified jars to the compile and runtime classpaths.
+ *
+ * @note Currently only supports jars, not directories
+ * @param urls The list of items to add to the compile and runtime
classpaths
+ */
+ def addUrlsToClassPath(urls: URL*): Unit = {
--- End diff --
so if the first line in this method is:
```scala
new Run // force some initialization
```
as the comment says, it forces some initialization, and the bugs below,
**in Scala** (no idea about Java, but likely should be fine)
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. 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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]