Commit 3d96984
committed
Provide script engine rendering object with parent class loader
The point of this change is to make it possible to cast script engine's output
to classes from the calling context, which is currently impossible due to lack
of a common parent classloader, see:
https://stackoverflow.com/questions/2591779/cast-across-classloader1 parent 59fcde7 commit 3d96984
File tree
3 files changed
+3
-1
lines changed- compiler/src/dotty/tools/repl
- tests/run-with-compiler
3 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
0 commit comments