Skip to content

Commit a2af18b

Browse files
committed
plugin service allow multiple extended plugins both extend the same module/plugin
1 parent 468f944 commit a2af18b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

server/src/main/java/org/opensearch/plugins/PluginsService.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -728,9 +728,9 @@ static void checkBundleJarHell(Set<URL> classpath, Bundle bundle, Map<String, Se
728728
Set<URL> intersection = new HashSet<>(urls);
729729
intersection.retainAll(pluginUrls);
730730
if (intersection.isEmpty() == false) {
731-
throw new IllegalStateException(
732-
"jar hell! extended plugins " + exts + " have duplicate codebases with each other: " + intersection
733-
);
731+
// throw new IllegalStateException(
732+
// "jar hell! extended plugins " + exts + " have duplicate codebases with each other: " + intersection
733+
// );
734734
}
735735

736736
intersection = new HashSet<>(bundle.urls);

0 commit comments

Comments
 (0)