[jira] [Created] (FLINK-23022) Plugin classloader settings do not work as described

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-23022) Plugin classloader settings do not work as described

Shang Yuanchun (Jira)
Dawid Wysakowicz created FLINK-23022:
----------------------------------------

             Summary: 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


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)