Skip to content

Commit dabc06b

Browse files
committed
Fallback isolated ClassLoader to platform classes by setting its parent to Platform ClassLoader
Signed-off-by: Paul Hristea <paul.hristea@novamap.health>
1 parent 7e35abe commit dabc06b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎server/src/com/mirth/connect/server/util/javascript/MirthContextFactory.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public ClassLoader getIsolatedClassLoader() {
114114
if (isolatedClassLoader == null && ArrayUtils.isNotEmpty(urls)) {
115115
synchronized (this) {
116116
if (isolatedClassLoader == null) {
117-
isolatedClassLoader = new URLClassLoader(urls, null);
117+
isolatedClassLoader = new URLClassLoader(urls, ClassLoader.getPlatformClassLoader());
118118
}
119119
}
120120
}

0 commit comments

Comments
 (0)