DefaultListableBeanFactory's registerBeanDefinition only calls resetBeanDefinition in case of pre-existing bean definition or pre-existing singleton instance

Issue: SPR-8318
(cherry picked from commit a4968b9)
NestedIOException can use IOException constructor with cause argument on JDK 6+
(cherry picked from commit c18b6bf)
SelectedValueComparator defensively handles null values in exhaustiveCompare

Issue: SPR-12001
(cherry picked from commit 980f971)
ClassUtils.isCacheSafe defensively catches SecurityException (for Google App Engine compatibility)

Issue: SPR-12002
(cherry picked from commit 48fea0b)
AbstractApplicationContext logs initialization exception before trying to cancel refresh attempt

Issue: SPR-12010
(cherry picked from commit 5e2fbe7)
AbstractMessageListenerContainer calls "Session.recover()" in case of rollback attempt on non-transacted Session

Issue: SPR-12015
(cherry picked from commit c082220)
ResourceHttpMessageConverter does not call contentLength() on InputStreamResource

Issue: SPR-12017
(cherry picked from commit f0bcb77)
Autowiring rejects self references to a factory method on the same bean as well

Issue: SPR-12018
(cherry picked from commit 496492b)
ConcurrentMapCacheManager recreates caches in case of setAllowNullValues change

Issue: SPR-12026
(cherry picked from commit 7848412)
TypeDescriptor's getResolvableType() and getSource() are @since 4.0
(cherry picked from commit 0ce90f1)
Typo fixes and cleanup of outdated Java 5 references

Issue: SPR-12020
(cherry picked from commit d4fe732)
StaxStreamXMLReader ignores significant whitespace

The StaxStreamXMLReader no longer handles all whitespace as ignorable
whitespace.

Issue: SPR-12000
(cherry picked from commit d6950d8)
Polishing