dschneider-pivotal commented on a change in pull request #7492:
URL: https://github.com/apache/geode/pull/7492#discussion_r836646516



##########
File path: 
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/execute/FunctionServiceBase.java
##########
@@ -433,4 +437,17 @@ public void fromData(DataInput in) throws IOException, 
ClassNotFoundException {
     }
   }
 
+  public static <T> Function<T> 
identifiableFunction(SerializableConsumerIF<FunctionContext<T>> f) {
+    return new Function<T>() {
+      @Override
+      public String getId() {

Review comment:
       Something I find confusing about this just being an issue on jdk17 is 
that getCanonicalName on jdk8 says it will return null for an anonymous class:
   Returns null if the underlying class does not have a canonical name (i.e., 
if it is a local or anonymous class or an array whose component type does not 
have a canonical name).




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