The classloader trick won't be needed after

a3d23cc12d
This commit is contained in:
Mike Eltsufin
2020-04-02 18:17:24 -04:00
parent ee8bbc3e82
commit c251b6de46
2 changed files with 5 additions and 4 deletions

View File

@@ -56,7 +56,7 @@ public class FunctionInvoker
private void init() {
System.setProperty("spring.http.converters.preferred-json-mapper", "gson");
Thread.currentThread() //TODO investigate if it is necessary
Thread.currentThread() // TODO: remove after upgrading to 1.0.0-alpha-2-rc5
.setContextClassLoader(FunctionInvoker.class.getClassLoader());
initialize(null);
}