Currently the Nutch plugin classloader flattens all the jars from a plugins' dependencies and instantiates a new classloader for each plugin. I think it would be better to create a hierarchical classloader chain. Currently plugins can't pass objects from a common plugin to one another because the objects are created using different classloaders. Nutch currently avoids this by only using interfaces from a common classloader to pass objects between plugins, but I can't see the harm in improving the plugin classloader. It would require a change to PluginDescription and PluginClassLoader in order to override ClassLoader to maintain the export filter functionality that currently exists.
This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.