Nicolas Romanetti opened SPR-5835 and commented
The default max age value is set as follow:
public static final int DEFAULT_COOKIE_MAX_AGE = Integer.MAX_VALUE;
This default value leads to cookie expiring in year 1977 ...
I think default value should be null (use Integer instead of int) and the max age should be set on the cookie only if it is != null
Affects: 2.5.6
Issue Links:
Referenced from: commits 13c3c57