trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zellerh <>
Subject [GitHub] incubator-trafodion pull request #697: [TRAFODION-2218] Memory leak from JVM...
Date Tue, 13 Sep 2016 20:47:46 GMT
Github user zellerh commented on a diff in the pull request:
    --- Diff: core/sql/src/main/java/org/trafodion/sql/udr/ ---
    @@ -68,7 +68,7 @@ static LmUDRObjMethodInvoke makeNewObj(
             return result;
    -    public static class ReturnInfo
    +    public class ReturnInfo
    --- End diff --
    Just curious, I don't see a code change that makes this necessary, why are we changing
the static class to an inner class? Wouldn't the static class be preferable, especially given
that we pass it - without an object from the parent class - via JNI? My knowledge about this
difference comes from, am
not a real expert in Java nested classes.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message