Github user stephenh commented on a diff in the pull request:
https://github.com/apache/spark/pull/3725#discussion_r22001164
--- Diff: core/src/main/scala/org/apache/spark/TestUtils.scala ---
@@ -85,15 +95,26 @@ private[spark] object TestUtils {
}
/** Creates a compiled class with the given name. Class file will be
placed in destDir. */
- def createCompiledClass(className: String, destDir: File, value: String
= ""): File = {
+ def createCompiledClass(
+ className: String,
+ destDir: File,
+ value: String = "",
+ baseClass: String = null,
+ classpathUrls: Seq[URL] = Seq()): File = {
--- End diff --
I added a classpathUrls param so that when we're compiling the child-first
classes, they can have the parent classes on the classpath (to model the
child-class extends a class available in the parent loader).
---
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]