Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Won't Fix
-
3.6.0
-
None
-
None
Description
jute generate equals as follow
String genJavaEquals(String fname, String peer) { return " ret = " + fname + ".equals(" + peer + ");\n"; }
if fname is null at the runtime, then a NullPointerException would be thrown, see this report for instance.
Java already solved this problem by using java.util.Objetcs.equals, I address this issue along with ZOOKEEPER-3290 in GH-839. But I need input from CPP and CSharp side.
BTW, is there anybody use jute's CSharp version or even CPP version?