From efb3ef9b51e6e71176f0d3bf6ea1dadfc997b149 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Tue, 29 Oct 2013 16:36:50 -0500 Subject: [PATCH] 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 --- src/classpath-avian.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classpath-avian.cpp b/src/classpath-avian.cpp index 320e6158a1..6d2c5afeb6 100644 --- a/src/classpath-avian.cpp +++ b/src/classpath-avian.cpp @@ -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