SpEL types it as an int whatever its magnitude — the tokenizer rejects a
literal that does not fit, as Spring does — so the numeric kind is fixed. It
previously followed the magnitude, which made 2147483904 a long and, in the
other direction, left the int arithmetic wrap reachable for values Spring
never reaches.
An unsuffixed integer literal.
SpEL types it as an
intwhatever its magnitude — the tokenizer rejects a literal that does not fit, as Spring does — so the numeric kind is fixed. It previously followed the magnitude, which made2147483904alongand, in the other direction, left theintarithmetic wrap reachable for values Spring never reaches.