You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2020/05/14 12:27:18 UTC

[GitHub] [ignite] ptupitsyn commented on a change in pull request #7751: IGNITE-10100 Implement calling .NET service from java

ptupitsyn commented on a change in pull request #7751:
URL: https://github.com/apache/ignite/pull/7751#discussion_r425096420



##########
File path: modules/core/src/main/java/org/apache/ignite/internal/processors/service/GridServiceProxy.java
##########
@@ -63,6 +69,22 @@
     /** */
     private static final long serialVersionUID = 0L;
 
+    /** */
+    private static final Method PLATFORM_SERVICE_INVOKE_METHOD;
+
+    static {
+        Method mtd;
+
+        try {
+            mtd = PlatformService.class.getMethod("invokeMethod", String.class, boolean.class, Object[].class);
+        }
+        catch (NoSuchMethodException e) {

Review comment:
       Yes, we should fail the node, because this error indicates a nasty bug in our code.
   Unchecked exception looks good to me.




----------------------------------------------------------------
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:
users@infra.apache.org