[
https://issues.apache.org/jira/browse/FLINK-14893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16984576#comment-16984576
]
Chesnay Schepler commented on FLINK-14893:
------------------------------------------
Based on the wording in the documentation we should try the child classloader
if the class could not be found in the parent.
[~hailong wang] Do you want to work on this issue?
> Using Child ClassLoader to load class when Parent ClassLoader couldn't load
> in ParentFirstPatterns
> ----------------------------------------------------------------------------------------------------
>
> Key: FLINK-14893
> URL: https://issues.apache.org/jira/browse/FLINK-14893
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Task
> Affects Versions: 1.9.0
> Reporter: hailong wang
> Priority: Major
> Fix For: 1.10.0
>
>
> In ChildFirstClassLoader#loadClass, when a class is in ParentFirstPattern,
> but it load failed for that parent does not contain it. It will throw a
> ClassNotFoundException. I think when loading failed, we should use findClass
> to load later.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)