Juergen Hoeller opened SPR-16160 and commented
MockHttpServletResponse.getDateHeader doesn't check for the existence of the corresponding header and ends up calling DateFormat.parse with a null value. Aligned with HttpServletRequest.getDateHeader(), it should simply return -1 in such a case.
Affects: 4.3.12, 5.0.1
Issue Links:
Referenced from: commits a75dd2d, 80a0cf7, dc0a934
Backported to: 4.3.13