Release Notes - Spring Framework - Version 3.2.1 - HTML format

Sub-task

  • [SPR-9398] - Ensure that both JUnit and TestNG tests are executed in the Gradle build

Bug

  • [SPR-8565] - Allow null returns with multiple embedded value resolvers
  • [SPR-9171] - EhCacheManagerFactoryBean should use net.sf.ehcache.config.ConfigurationFactory set the name of ehcache manager
  • [SPR-9189] - CachedIntrospectionResults cannot be cleared for null class loaders
  • [SPR-9231] - ScheduledTaskRegistrar shouldn't use InitializingBean#afterPropertiesSet to start scheduled tasks
  • [SPR-9258] - MimeMessageHelper does not handle attachment file name encoding
  • [SPR-9330] - BridgeMethodResolver throws exception when trying to find bridged method if method is declired in interface or it is abstract
  • [SPR-9332] - SpringValidatorAdapter is incorrectly resolving rejected value for bean based field level constraints
  • [SPR-9389] - FreeMarkerConfigurationFactory's instance variable become enlarged whenever call create method.
  • [SPR-9429] - LocalVariableTableParameterNameDiscoverer doesn't support bridged methods
  • [SPR-9451] - MBeanExporter#destroy logs warnings about explicitly unregistered mbeans
  • [SPR-9461] - SimpleDriverDataSource doesn't use the connectionProperties specified
  • [SPR-9793] - DefaultConversionService fails to convert String to char[]
  • [SPR-9795] - Can't component scan for @Component and exclude @Controller (a.k.a., excludeFilters should take precedence over includeFilters)
  • [SPR-9885] - MockHttpServletResponse.getHeaderNames is incompatible with Servlet 3.0
  • [SPR-9970] - UnsupportedOperationException when accessing Environment with active SecurityManager
  • [SPR-9984] - Segregate long running performance based junit tests
  • [SPR-9996] - ContextLoader incorrectly refreshes already refreshed context
  • [SPR-10013] - SpringBeanAutowiringInterceptor not closing ApplicationContext after EJB initialisation exception
  • [SPR-10084] - NamedParameterJdbcTemplate for "insert / select" clause, set NULL value causes JConnect 7 (Sybase) problem - java.io.IOException: JZ0SL: Unsupported SQL type 0. - Affects 3.1.3.RELEASE, works in 3.1.1.RELEASE
  • [SPR-10103] - RequestDataValueProcessor produces non-compliant HTML code
  • [SPR-10106] - AutowiredAnnotationBeanPostProcessor made mistake to check the bean is unique
  • [SPR-10107] - Autowiring with @Qualifier and @Qualifier meta annotation fails in Spring 3.2
  • [SPR-10108] - [regresion] NullPointerException is thrown when beanName is null in AutowireCapableBeanFactory.initializeBean
  • [SPR-10109] - JMSTemplate.receive() and receiveSelected() don't use "receiveTimeout" property if in a transaction
  • [SPR-10111] - Processing java.math.BigDecimal via Spring's ExtendedBeanInfo fails sporadically
  • [SPR-10115] - Regression in static setter method support
  • [SPR-10116] - Fix GenericConversionService search algorithm
  • [SPR-10119] - ContentNegotiatingViewResolver - Upgrade from 3.1 to 3.2 causes ClassCastException
  • [SPR-10122] - Fix SpEL JavaBean compliance for setters
  • [SPR-10125] - SpEL support for static finals on interfaces
  • [SPR-10136] - MessageSourceResourceBundle.containsKey throws NullPointerException
  • [SPR-10138] - HttpServletBean requires overly narrow Environment type
  • [SPR-10139] - error with tomcat 6 and spring 3.2
  • [SPR-10140] - MatrixVariable values are not decoded
  • [SPR-10144] - NPE in PersistenceExceptionTranslationPostProcessor when instantiate a @Configurable Bean
  • [SPR-10146] - Improve exceptions for multi-operand expressions
  • [SPR-10151] - Building 3.2.x branch with Java 7 fails - api depends on asmRepackJar
  • [SPR-10161] - spring-aspects is compiled with JDK 1.7 compatibility
  • [SPR-10162] - Consider bridge methods in SpEL properties
  • [SPR-10173] - RequestMapping fileExtension filling interferes with registration of mapping methods
  • [SPR-10175] - AbstractMessageConverterMethodProcessor returns allSupportedMediaTypes with HttpMediaTypeNotAcceptableException
  • [SPR-10177] - Attribute mode removed from annotation-driven definition in spring-task.xsd
  • [SPR-10178] - NoSuchMethodError for Aspects
  • [SPR-10185] - Update to spring 3.1.3 causes SqlException when executing sql statement with null parameters, caused by changes in StatementCreatorUtils.setNull method.
  • [SPR-10186] - UriComponents break UriTemplate serialization
  • [SPR-10187] - FormHttpMessageConverter#writePart NPE on 'partBody.getClass()'
  • [SPR-10192] - MockHttpServletRequest must not throw an exception on getParameter(null)
  • [SPR-10195] - ClassCastException while using completeAutoload in Tiles 3
  • [SPR-10198] - Support Date to String in JodaTimeConverters
  • [SPR-10207] - HttpEntityMethodProcessor Does Not Support HttpEntity/ResponseEntity Subclasses
  • [SPR-10957] - MBeanExporter/MBeanRegistrationSupport leaks ObjectNames in registeredBeans

Improvement

  • [SPR-5387] - ThreadPoolExecutor waitForTasksToCompleteOnShutdown doesn't work as expected
  • [SPR-6044] - Make ResponseStatusExceptionResolver handling of @ResponseStatus.reason internationalizable
  • [SPR-7763] - BufferedImageHttpMessageConverter not using defaultContentType
  • [SPR-7854] - @Primary and primary attribute of <bean> element are not considered for calls to getBean(Class)
  • [SPR-7955] - EhCacheCacheManager throws assertion error for ehcache configuration with only default cache configured
  • [SPR-8684] - Form tag should prepend the contextPath and servletPath if not present
  • [SPR-8687] - Request to switch off heading & trailing whitespaces trim of path segments in AntPathMatcher
  • [SPR-9162] - SpringContextResourceAdapter does not fulfill whole JCA 1.5 contract
  • [SPR-9237] - Map "no default value for field" MySQL error code to DataIntegrityViolationException
  • [SPR-9248] - WebContentInterceptor.preHandle(request, response, handler), handler of type HandlerMethod not controller instance
  • [SPR-9367] - Update reference documentation on handling 401 response in the RestTemplate
  • [SPR-9428] - exposeAccessContext should also be available for JndiRmiClientInterceptor
  • [SPR-9435] - Consistency between scheduling/concurrent factory beans, resulting in inheritance improvement
  • [SPR-9436] - Improve support for registering Validator implementations in Spring MVC
  • [SPR-9437] - Improve documentation for validation and data binding
  • [SPR-9553] - Relax jms:listener-container xsd:int attributes to xsd:string in order to allow for SpEL expressions
  • [SPR-9625] - AnnotationAwareOrderComparator.sort has very misleading syntax
  • [SPR-9713] - Infer "shutdown()" as destroy method for convenient EHCache setup using @Bean
  • [SPR-9792] - Allow TypeDescriptor array construction
  • [SPR-9896] - ResourcePropertySource cannot load JDK 5 properties xml
  • [SPR-9935] - Allow customization of request mappings
  • [SPR-9985] - Use parameter names during MBeanInfo assembly
  • [SPR-9990] - Detect split packages at build time
  • [SPR-10093] - Support OPTIONS method in the MVC Test framework
  • [SPR-10096] - Support configurable charset for ResourcePropertySource
  • [SPR-10099] - Implement support of Jackson2 for MappingJacksonMessageConverter
  • [SPR-10101] - ContentNegotiationManagerFactoryBean does not provide default value for "parameterName" as stated in doc
  • [SPR-10102] - Support SpEL in @initial-delay for <task:scheduled>
  • [SPR-10110] - Add support for X-Forwarded-Host in ServletUriComponentsBuilder
  • [SPR-10132] - Improve documentation regarding which @MVC annotations are required on interfaces when proxying
  • [SPR-10152] - AnnotationAwareOrderComparator does not work on Class objects
  • [SPR-10160] - EntityManagerFactoryUtils.findEntityManagerFactory() does not search parent contexts if persistence unit name is unspecified
  • [SPR-10165] - Provide a means to ignore the character set in ContentResultMatchers.contentType(MediaType)
  • [SPR-10193] - RequestMappingInfoHandlerMapping.handleNoMatch returns null instead of throwing an exception
  • [SPR-10194] - distinguish "none found" from "several found" in NoSuchBeanDefinitionException

Refactoring

  • [SPR-10127] - Polish whitespace
  • [SPR-10129] - Update test source and target JDK compatibility to 1.7

Task

  • [SPR-8659] - Improve javadoc for SimpleTypeConverter: it has no information that this class is not thread-safe
  • [SPR-8916] - org.springframework.jmx.export.metadata.AttributesJmxAttributeSource has been removed but is still mentioned in the documentation
  • [SPR-9064] - Doc: Bad snippet for CompositeCacheManager
  • [SPR-9365] - Doc: Spring 3.x and Hibernate 4 are not compatible. Unable to use HibernateTemplate.
  • [SPR-9455] - JavaDoc of AbstractRefreshableConfigApplicationContext.resolvePath out of date
  • [SPR-9466] - Error in doc on JCA CCI - ConnectionSpecConnectionFactoryAdapter
  • [SPR-9843] - Add migration instructions regarding component-scanning against "org" base package
  • [SPR-10128] - Polish Javadoc
  • [SPR-10168] - Handle nulls returned by ServletContext#addServlet() invocation in AbstractDispatcherServletInitializer#registerDispatcherServlet() method
  • [SPR-10171] - Community Download site mentioned in the docs doesn't work
  • [SPR-10179] - Remove .aj sources from spring-aspects jar
  • [SPR-10189] - Fix castor website
  • [SPR-10204] - Configuring Content Negotiation Example Code Incorrect

Edit/Copy Release Notes

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