Fix #1180: Clean reflective call support for Longs
Merge pull request #1362 from gzm0/long-ref-call

Fix #1180: Clean reflective call support for Longs