Community
Participate
Working Groups
!! compare uses values from int instead from long !! example: long MONTHS = 2147483648; -> ... is out of range long MONTHS = 2147483647; -> okay 2147483647 is the greatest positive number from signed int, not signed long !
not a bug: An integer literal is of type long if it is suffixed with an ASCII letter L or l (ell); otherwise it is of type int.
Closing as invalid
Improved error message to indicate the literal type.