eemario commented on code in PR #27307:
URL: https://github.com/apache/flink/pull/27307#discussion_r2626611293


##########
flink-clients/src/main/java/org/apache/flink/client/program/PackagedProgram.java:
##########
@@ -91,7 +92,9 @@ public class PackagedProgram implements AutoCloseable {
 
     private final List<URL> classpaths;
 
-    private final URLClassLoader userCodeClassLoader;
+    private final Configuration configuration;
+
+    private transient URLClassLoader userCodeClassLoader;

Review Comment:
   Updated: introduce a serializable descriptor that can be used to reconstruct 
the `PackagedProgram` after ser/de-ser, thus avoiding inconsistency between the 
`userCodeClassLoader` and `mainClass` .



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to