[jira] [Created] (FLINK-14893) Using Child ClassLoader to load class when Parent ClassLoader couldn't load in ParentFirstPatterns

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

[jira] [Created] (FLINK-14893) Using Child ClassLoader to load class when Parent ClassLoader couldn't load in ParentFirstPatterns

Shang Yuanchun (Jira)
hailong wang created FLINK-14893:
------------------------------------

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