lsyldliu commented on PR #20003: URL: https://github.com/apache/flink/pull/20003#issuecomment-1158838709
> What prevents you from creating such a classloader as a child classloader? The common parent class of `SafetyNetWrapperClassLoader ` and `FlinkUserCodeClassLoader ` is `URLClassLoader`, but `addURL` method of `URLClassLoader` is protected. If I implement a `MutableURLClassLoader` has the ability of `SafetyNetWrapperClassLoader` and `FlinkUserCodeClassLoader` simultaneously, which classLoader should `MutableURLClassLoader` extands? `SafetyNetWrapperClassLoader` or `FlinkUserCodeClassLoader` or `URLClassLoader`? Can you give me some idea? Or perhaps `MutableURLClassLoader` refer to `SafetyNetWrapperClassLoader` and `FlinkUserCodeClassLoader` as it member variable? I don't know how to implement this child classloader. -- 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. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org