mirror of
https://github.com/corda/corda.git
synced 2025-01-03 19:54:13 +00:00
Initialize the context class loader to the app class loader
Previously, we initialized it to the boot class loader, but that is inconsistent with Java; if compiling against OpenJDK's class library, the context class loader is therefore initialized to the app class loader, too. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
parent
5827c450c9
commit
efb3ef9b51
@ -53,7 +53,7 @@ class MyClasspath : public Classpath {
|
||||
|
||||
return vm::makeThread
|
||||
(t, 0, 0, 0, 0, NewState, NormalPriority, 0, 0, 0,
|
||||
root(t, Machine::BootLoader), 0, 0, group, 0);
|
||||
root(t, Machine::AppLoader), 0, 0, group, 0);
|
||||
}
|
||||
|
||||
virtual object
|
||||
|
Loading…
Reference in New Issue
Block a user