[ 
https://issues.apache.org/jira/browse/FLINK-23022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17368278#comment-17368278
 ] 

Arvid Heise commented on FLINK-23022:
-------------------------------------

Sorry you are right, it definitively loads from flink cl first. So we can leave 
the ticket as is.

Still I'd like to limit it to a small white-list of classes instead of complete 
packages.

> Plugin classloader settings do not work as described
> ----------------------------------------------------
>
>                 Key: FLINK-23022
>                 URL: https://issues.apache.org/jira/browse/FLINK-23022
>             Project: Flink
>          Issue Type: Bug
>          Components: API / Core
>            Reporter: Dawid Wysakowicz
>            Priority: Major
>
> The options {{plugin.classloader.parent-first-patterns}} are documented as 
> all patterns that are put there should be loaded from the Flink classloader 
> instead of the plugin classloader.
> However, the way they work is that they define a set of patterns allowed to 
> be pulled from the parent classloader. The plugin classloader takes 
> precedence in all cases. And a class can be loaded from the parent 
> classloader only if it matches the pattern in one of the aforementioned 
> options.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to