Commit 45618618 authored by Philippe Merle's avatar Philippe Merle
Browse files

used the current thread context class loader where FraSCAti is loaded to load...

used the current thread context class loader where FraSCAti is loaded to load Juliac plugins instead of the class loader where Juliac was loaded.
parent 9d9cdd7a
......@@ -143,6 +143,10 @@ public class JuliacComponent
}
jcfg.setOptLevel(juliacOptLevel.toString());
// use the current thread context class loader where FraSCAti is loaded
// to load Juliac plugins instead of the class loader where Juliac was loaded.
jcfg.setClassLoader(Thread.currentThread().getContextClassLoader());
try {
jcfg.loadOptLevels();
} catch(Exception e) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment