forked from I2P_Developers/i2p.i2p
SusiDNS: Fix classloading on Java 11+
Caused SusiDNS and addressbook to be in a different context addressbook config would be stored in base dir and subscriptions would not load because it couldn't find i2ptunnel
This commit is contained in:
@@ -106,6 +106,8 @@ public class WebAppConfiguration implements Configuration {
|
||||
if (ctxPath.equals("/susidns")) {
|
||||
// Old installs don't have this in their wrapper.config classpath
|
||||
cp = "addressbook.jar";
|
||||
// Java 11+ fix to prevent dup contexts
|
||||
wac.setParentLoaderPriority(true);
|
||||
} else if (pluginDir.exists()) {
|
||||
File consoleDir = new File(pluginDir, "console");
|
||||
Properties props = RouterConsoleRunner.webAppProperties(consoleDir.getAbsolutePath());
|
||||
|
||||
Reference in New Issue
Block a user