Skip to content
Snippets Groups Projects
Commit 54b38472 authored by Felix Sidokhine's avatar Felix Sidokhine
Browse files

enforced an additional reload of the classpool

parent 2b744571
Branches
No related tags found
No related merge requests found
...@@ -64,6 +64,7 @@ public class Server { ...@@ -64,6 +64,7 @@ public class Server {
public static AppUpdater appUpdater; public static AppUpdater appUpdater;
public Server(AppUpdater appUpdater, String port, String serverCertificate, String serverPrivateKey) { public Server(AppUpdater appUpdater, String port, String serverCertificate, String serverPrivateKey) {
ClassPool.getDefault().clearImportedPackages();
JsoniterRegistry.initCodecs(); JsoniterRegistry.initCodecs();
Server.appUpdater = appUpdater; Server.appUpdater = appUpdater;
String[] args = {port, serverCertificate, serverPrivateKey}; String[] args = {port, serverCertificate, serverPrivateKey};
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
package net.jami.jams.server.core.workflows; package net.jami.jams.server.core.workflows;
import com.jsoniter.output.JsonStream; import com.jsoniter.output.JsonStream;
import javassist.ClassPool;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import net.jami.jams.common.authentication.AuthenticationSourceType; import net.jami.jams.common.authentication.AuthenticationSourceType;
import net.jami.jams.common.objects.roots.X509Fields; import net.jami.jams.common.objects.roots.X509Fields;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment