aljoscha commented on a change in pull request #8280: [FLINK-12297]Harden 
ClosureCleaner to handle the wrapped function
URL: https://github.com/apache/flink/pull/8280#discussion_r289763006
 
 

 ##########
 File path: 
flink-java/src/main/java/org/apache/flink/api/java/ClosureCleaner.java
 ##########
 @@ -73,6 +78,32 @@ public static void clean(Object func, boolean 
checkSerializable) {
                        if (f.getName().startsWith("this$")) {
                                // found a closure referencing field - now try 
to clean
                                closureAccessed |= cleanThis0(func, cls, 
f.getName());
+                       } else {
+                               Object fo;
 
 Review comment:
   This could be `fieldObject`, to make the code more readable.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to