mirror of
https://github.com/corda/corda.git
synced 2025-01-23 21:08:48 +00:00
set default thread context classloader to app loader, not boot loader
This commit is contained in:
parent
16a8777fd2
commit
89947f4655
@ -305,7 +305,7 @@ class MyClasspath : public Classpath {
|
|||||||
setObjectClass(t, thread, type(t, Machine::ThreadType));
|
setObjectClass(t, thread, type(t, Machine::ThreadType));
|
||||||
threadPriority(t, thread) = NormalPriority;
|
threadPriority(t, thread) = NormalPriority;
|
||||||
threadGroup(t, thread) = group;
|
threadGroup(t, thread) = group;
|
||||||
threadContextClassLoader(t, thread) = root(t, Machine::BootLoader);
|
threadContextClassLoader(t, thread) = root(t, Machine::AppLoader);
|
||||||
|
|
||||||
PROTECT(t, thread);
|
PROTECT(t, thread);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user