You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/01/03 06:47:04 UTC

[GitHub] [flink] zhuzhurk edited a comment on issue #10678: [FLINK-15355][plugin] Remove parent first from plugin classloader.

zhuzhurk edited a comment on issue #10678: [FLINK-15355][plugin] Remove parent first from plugin classloader.
URL: https://github.com/apache/flink/pull/10678#issuecomment-570456623
 
 
   Agree with @zentol and @pnowojski that we should keep the always parent first class loading mechanism for plugins. Adding a a separate pattern config for plugins sounds reasonable.
   
   Besides that, a plugin also has its own exclude patterns (though not ready yet, see `DirectoryBasedPluginFinder#createPluginDescriptorForSubDirectory` -> `PluginDescriptor#loaderExcludePatterns`). So that each plugin can whitelist classes for their preferences. @wangyang0918 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services