Remove plugin classloader indirection (#113154)

Extensible plugins use a custom classloader for other plugin jars. When
extensible plugins were first added, the transport client still existed,
and elasticsearch plugins did not exist in the transport client (at
least not the ones that create classloaders). Yet the transport client
still created a PluginsService. An indirection was used to avoid
creating separate classloaders when the transport client had created the
PluginsService.

The transport client was removed in 8.0, but the indirection still
exists. This commit removes that indirection layer.
This commit is contained in:
Ryan Ernst 2024-09-20 07:45:40 -07:00 committed by GitHub
parent b977a337e3
commit 2ecfb397ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 3 additions and 68 deletions

View file

@ -25,7 +25,6 @@ module org.elasticsearch.server {
requires org.elasticsearch.nativeaccess;
requires org.elasticsearch.geo;
requires org.elasticsearch.lz4;
requires org.elasticsearch.pluginclassloader;
requires org.elasticsearch.securesm;
requires org.elasticsearch.xcontent;
requires org.elasticsearch.logging;