lsyldliu commented on code in PR #20713:
URL: https://github.com/apache/flink/pull/20713#discussion_r960631789


##########
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/environment/StreamExecutionEnvironment.java:
##########
@@ -293,7 +294,8 @@ public StreamExecutionEnvironment(
         this.configure(this.configuration, this.userClassloader);
     }
 
-    protected ClassLoader getUserClassloader() {
+    @VisibleForTesting
+    public ClassLoader getUserClassloader() {

Review Comment:
   What's your concern about exposing this method for tests? Can you give me 
some advice about what classloader we should use?  
`env.getClass().getClassLoader()`?



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

Reply via email to