Commit 5216a8d
committed
*Always* use the context class loader
If we ever limit which class loader we use as parent or to discover the
available dependencies by using the class loader that happened to load
MiniMaven, we will be in for a *lot* of trouble in the future, e.g. with
ImageJ 1.x' PluginClassLoader.
So let's not do that. Let's use the current thread's context class loader,
like everywhere else we need a class loader.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>1 parent d7f00fc commit 5216a8d
File tree
1 file changed
+3
-2
lines changed- src/main/java/org/scijava/plugins/scripting/java
1 file changed
+3
-2
lines changedLines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
608 | 608 | | |
609 | 609 | | |
610 | 610 | | |
611 | | - | |
| 611 | + | |
| 612 | + | |
612 | 613 | | |
613 | 614 | | |
614 | 615 | | |
| |||
0 commit comments