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:
zzz
2022-06-17 12:52:36 -04:00
parent ed1e705d35
commit c2edd7e926
3 changed files with 11 additions and 1 deletions

View File

@@ -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());

View File

@@ -1,3 +1,11 @@
2022-06-17 zzz
* Crypto: Fix equality checking of ECParameterSpecs
* SusiDNS: Fix classloading on Java 11+
* Util: ArraySet improvements, prep for use
2022-06-16 zzz
* SSU2: Hole punch processing and fixes
2022-06-14 zzz
* SSU2:
- Add per-introducer relay state machine

View File

@@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */
public final static String ID = "Git";
public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 6;
public final static long BUILD = 7;
/** for example "-test" */
public final static String EXTRA = "";