Skip to content

Commit 586e1a0

Browse files
committed
make sure dynamically added classpath entries go onto the classpath, that causes an issue with this version of the Repl engine because the classpath is shared and ever growing at each step. A change in the future to the ResettableReplEngine would solve this and make it only from that point downward.
1 parent a2a9d25 commit 586e1a0

File tree

1 file changed

+1
-0
lines changed
  • src/main/kotlin/org/jetbrains/kotlin/jupyter

1 file changed

+1
-0
lines changed

src/main/kotlin/org/jetbrains/kotlin/jupyter/repl.kt

+1
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ class ReplForJupyter(val conn: JupyterConnection) {
9999
successfulCompilation.hasResult,
100100
successfulCompilation.classpathAddendum)
101101

102+
classpath.addAll(successfulCompilation.classpathAddendum)
102103
earlierLines = check.updatedHistory
103104
return eval
104105
}

0 commit comments

Comments
 (0)