Skip to content
Snippets Groups Projects
Commit a23220ae authored by Tomasz Grabiec's avatar Tomasz Grabiec
Browse files

java: set context class loader of context's main thread.

This is an optimization which saves the isolate code from going
through OsvSystemClassLoader proxy.
parent 211bb7fb
No related branches found
No related tags found
No related merge requests found
......@@ -114,6 +114,7 @@ public class ContextIsolator {
e.printStackTrace();
}
});
thread.setContextClassLoader(classLoader);
thread.start();
return context;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment