[java/cs] Int64.compare fix. Closes #2317
[cs] No error for Issue #2304