zentol commented on PR #20003: URL: https://github.com/apache/flink/pull/20003#issuecomment-1160232881
Then we're just hacking around technical debt. A classloader should not be passed to a component if at that time it does not have access to all required classes. You should rework your code to either not eagerly supply all components with the classloader but pass it in at the time it is needed, or setup some supplier it can query later on. If you're lacking clear ownership of the classloader then mutating said classloader is a dangerous operation anyway. -- 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