You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Andrew Chung (JIRA)" <ji...@apache.org> on 2015/11/24 00:45:11 UTC
[jira] [Closed] (REEF-827) Standardize Java object field access in
InterOp layer
[ https://issues.apache.org/jira/browse/REEF-827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Chung closed REEF-827.
-----------------------------
Resolution: Duplicate
Duplicate of REEF-986. Sorry!
> Standardize Java object field access in InterOp layer
> -----------------------------------------------------
>
> Key: REEF-827
> URL: https://issues.apache.org/jira/browse/REEF-827
> Project: REEF
> Issue Type: Improvement
> Components: REEF Bridge
> Reporter: Andrew Chung
>
> Currently, C++ InterOp code can access a field in a Java object either directly (even if it's {{private}}) with {{GetObjectField()}} or through the (often) {{public}} getter method {{GetMethodId}}. Our code uses a combination of both. We should standardize such that it uses either-or, not both.
> Personally, I prefer {{GetMethodId}} as a standard instead of {{GetObjectField}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)