We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1276bd0 commit b7f7a50Copy full SHA for b7f7a50
repl-embedded/src/scala/tools/repl/EmbeddedReplMain.scala
@@ -64,11 +64,6 @@ class UnshadingClassLoader(parent: ClassLoader) extends ClassLoader(parent) {
64
*/
65
object EmbeddedReplMain {
66
def main(args: Array[String]): Unit = {
67
- // Get the location of the current jar to use as classpath
68
- val codeSource = getClass.getProtectionDomain.getCodeSource
69
-
70
- // Add -classpath argument pointing to the shaded jar itself
71
- // This allows the ReplDriver's compiler to find scala.* classes
72
val argsWithClasspath = if (args.exists(arg => arg == "-classpath" || arg == "-cp")) {
73
args // Already has classpath
74
} else {
0 commit comments