Release Notes - Spring Framework - Version 4.0.2 - HTML format


  • [SPR-10785] - Method injection causes memory leak
  • [SPR-10837] - Velocity springFormCheckboxes macro does not check preselected items correctly
  • [SPR-11101] - URLs containing %2F (forward slash) are not mapped correctly to @RequestMapping methods
  • [SPR-11366] - LiveBeansView generates invalid JSON on specific case
  • [SPR-11370] - NPE if no registered MessageConverter supporting "application/json" MIME type
  • [SPR-11374] - StringIndexOutOfBoundsException in AbstractErrors for class-level JSR-303 validator
  • [SPR-11378] - Potential ClassCastException in RequestContextListener when destroying the request object
  • [SPR-11385] - Fix off-by-one regression in AbstractMethodMockingControl
  • [SPR-11386] - PreparedStatement#getParameterMetaData() calls may trigger unwanted side effects
  • [SPR-11391] - MvcUriComponentsBuilder does not expand path variables in controller-level @RequestMapping
  • [SPR-11398] - aop:scoped-proxy may fail with LinkageError: loader attempted duplicate class definition for name
  • [SPR-11402] - HibernateTemplate's generic signatures break backwards compatibility at source level
  • [SPR-11403] - Log caught exception in MappingJackson2HttpMessageConverter
  • [SPR-11407] - EhCacheCacheManager does not wrap runtime-registered caches with TransactionAwareCacheDecorator
  • [SPR-11411] - MarshallingView should not close response output stream
  • [SPR-11412] - Update javadoc to conform to JDK8's styling
  • [SPR-11420] - Inclusion of 'overloaded' in equals() and hashCode() for MethodOverride breaks equals() in AbstractBeanDefinition
  • [SPR-11422] - resolveFactoryMethodIfPossible should consider nonPublicAccessAllowed flag and SecurityManager scenario
  • [SPR-11423] - Ensure server messages contain a destination matching that of the original subscription for user destinations
  • [SPR-11428] - Objects with multi-threaded access should not lazily populate a hash field
  • [SPR-11433] - No way to set virtual host in StompBrokerRelayMessageHandler
  • [SPR-11440] - Memory leak in ConcurrentReferenceHashMap


  • [SPR-11368] - Choose HTTP status for handshake failures
  • [SPR-11383] - Apache HttpComponents 4.3 required at runtime but not listed in migration guide
  • [SPR-11384] - Ensure all tests are executed in the Gradle build
  • [SPR-11392] - Unit test in EvalTagTests fails with French as default locale
  • [SPR-11404] - Broken link into documentation section 21.5.3


  • [SPR-9028] - HibernateInterceptor variant for Hibernate 4
  • [SPR-11103] - CustomizableThreadCreator could use AtomicInteger
  • [SPR-11110] - ShallowEtagHeaderFilter should not set ETags to non-cached resources
  • [SPR-11281] - Improve error reporting for issues related to @Controller types requiring AOP proxing
  • [SPR-11369] - Multiple Converters from same source type to different Collection types not properly supported
  • [SPR-11387] - Custom headers are not sent in the stomp message
  • [SPR-11388] - Performance degradation in evaluation of SpelExpression with access to Map
  • [SPR-11395] - Introduce verify() and reset() methods in AnnotationDrivenStaticEntityMockingControl
  • [SPR-11413] - Consistently avoid close() call on Servlet OutputStream
  • [SPR-11416] - Ignore container callback and marker interfaces for auto-proxy decisions
  • [SPR-11417] - MarshallingView should explicitly skip BindingResult when searching for a model object
  • [SPR-11424] - Add status ResultMatcher to express status code ranges
  • [SPR-11425] - Allow access to HttpMethod in controller methods
  • [SPR-11427] - Minor CompositeCacheManager revision
  • [SPR-11431] - Add support for setting PropertyNamingStrategy in Jackson2ObjectMapperFactoryBean
  • [SPR-11603] - Poor jackson parsing error message in MappingJackson2HttpMessageConverter

Edit/Copy Release Notes

The text area below allows the project release notes to be edited and copied to another document.