Comment #0 by john.loughran.colvin — 2014-12-09T12:40:52Z
The compiler is being clever and erroring out saying that there's signed overflow, because it can't see that -9223372036854775808L is a valid long. It appears to apply the check before considering the minus sign.
Obviously you can just use long.min, so it's only a minor annoyance.
Comment #1 by hsteoh — 2014-12-17T18:32:40Z
*** This issue has been marked as a duplicate of issue 8929 ***