Juergen Hoeller
f7c3b814e3
Only expose ASM-driven method order if the methods match
...
Issue: SPR-14505
(cherry picked from commit 253060c )
2017-01-23 23:30:36 +01:00
Juergen Hoeller
155bbb8466
Clear nonAnnotatedClasses cache in afterSingletonsInstantiated
...
Issue: SPR-15175
(cherry picked from commit e566e25 )
2017-01-23 23:30:13 +01:00
Juergen Hoeller
64d4afad9f
SimpleApplicationEventMulticaster defensively swallows ClassCastException without message
...
Issue: SPR-15145
(cherry picked from commit 976d32f )
2017-01-17 20:43:59 +01:00
Juergen Hoeller
0655d73f8e
SimpleApplicationEventMulticaster defensively handles ClassCastException without message
...
Issue: SPR-15145
(cherry picked from commit 153fd82 )
2017-01-16 22:43:35 +01:00
Juergen Hoeller
70a980db58
Polishing
2017-01-12 22:54:23 +01:00
Juergen Hoeller
de611cb3a9
SpringValidatorAdapter properly handles HV-5-style list constraint violations
...
Issue: SPR-15082
(cherry picked from commit d0e9328 )
2017-01-12 22:50:33 +01:00
Juergen Hoeller
72a76367f2
AbstractMessageSource does not attempt to format code-as-default-message
...
Issue: SPR-15123
(cherry picked from commit b06423a )
2017-01-12 22:50:22 +01:00
Juergen Hoeller
26a4aef417
Polishing
...
(cherry picked from commit fc629bb )
2016-12-29 23:12:11 +01:00
Juergen Hoeller
050f2c746d
Track bean dependencies for calls between @Bean methods within @Configuration classes
...
Issue: SPR-15069
(cherry picked from commit a5c6658 )
2016-12-29 23:12:05 +01:00
Juergen Hoeller
fd21e0e69a
@Scheduled reliably applies after other post-processors and shuts down before TaskScheduler
...
Issue: SPR-14692
Issue: SPR-15067
(cherry picked from commit edc62be )
2016-12-29 23:12:00 +01:00
Juergen Hoeller
d44bc27c9a
Avoid FactoryBean initialization on isSingleton check for decorated bean definition
...
Issue: SPR-14892
Issue: SPR-15042
(cherry picked from commit 209e7a7 )
2016-12-28 23:20:15 +01:00
Juergen Hoeller
243e21a3ea
Backport streamlined ClassPathBeanDefinitionScanner setup
...
Issue: SPR-15061
2016-12-27 18:32:03 +01:00
Sebastien Deleuze
dd2b6a0fc5
Avoid NPE in AutoProxyRegistrar when no attribute found
...
Issue: SPR-15055
2016-12-27 16:34:29 +01:00
Juergen Hoeller
f949461297
Polishing
...
(cherry picked from commit a8741dd )
2016-12-26 11:40:49 +01:00
Juergen Hoeller
9a39a25bb5
Detect generic type match behind interface-based proxy as well
...
Issue: SPR-14097
(cherry picked from commit f805427 )
2016-12-26 11:40:40 +01:00
Juergen Hoeller
4b018407c1
Expose reflection metadata with ASM-driven method order
...
Issue: SPR-14505
(cherry picked from commit 0208198 )
2016-12-26 11:40:33 +01:00
Juergen Hoeller
99226e0fa6
Polishing
2016-12-23 21:16:43 +01:00
Juergen Hoeller
4a84ee07be
ConfigurationClassParser enforces @Bean declaration order through ASM metadata
...
Issue: SPR-14505
(cherry picked from commit 3295a4e )
2016-12-23 20:46:11 +01:00
Juergen Hoeller
8d55c7d60a
Backported DataBinder configuration tests
...
Issue: SPR-15009
2016-12-21 09:31:55 +01:00
Juergen Hoeller
8662c61a17
Polishing
...
(cherry picked from commit 154ef8b )
2016-12-20 20:14:25 +01:00
Juergen Hoeller
a5ce965d22
ConfigurationClassPostProcessor programmatically registers unified ImportAwareBeanPostProcessor
...
Issue: SPR-14931
(cherry picked from commit f6b2a21 )
2016-12-20 12:25:22 +01:00
Juergen Hoeller
1e58c80fe7
MBeanExporter silently ignores null beans
...
Issue: SPR-15031
(cherry picked from commit 9c55d22 )
2016-12-19 16:57:48 +01:00
Juergen Hoeller
a92ae4ba30
Fixed backport gaps
2016-12-19 02:09:05 +01:00
Juergen Hoeller
307e37a69f
Flexible setMessageCodesResolver and deprecated setExtractOldValueForEditor at DataBinder level
...
Issue: SPR-15009
2016-12-19 01:49:38 +01:00
Juergen Hoeller
b9c4f1fa95
ResolvableType-based matching respects generic factory method return type
...
Includes consistent use of ResolvableType.resolve() wherever applicable.
Issue: SPR-15011
(cherry picked from commit 4c005e6 )
2016-12-19 01:12:14 +01:00
Juergen Hoeller
271b0abc45
LocaleContextHolder provides support for framework-level default settings
...
Issue: SPR-15017
(cherry picked from commit 23f0418 )
2016-12-19 01:10:09 +01:00
Juergen Hoeller
dd3c370bca
ImportRegistry properly tracks excluded superclasses
...
Issue: SPR-14972
(cherry picked from commit a7ec6dc )
2016-12-19 00:57:45 +01:00
Juergen Hoeller
149acdae7d
@UsesJava8
...
Issue: SPR-14958
2016-12-01 14:23:59 +01:00
Juergen Hoeller
5fee5f39ea
Polishing
2016-12-01 14:13:23 +01:00
Juergen Hoeller
66aeeedaef
Test injection point match for narrow target return type
...
Issue: SPR-14960
(cherry picked from commit 845dbf0 )
2016-12-01 14:12:00 +01:00
Juergen Hoeller
af41dd1ed6
Efficient ISO_LOCAL_* variants for printing LocalDate/LocalTime/LocalDateTime
...
Issue: SPR-14958
(cherry picked from commit 1ae17c2 )
2016-12-01 14:11:49 +01:00
Juergen Hoeller
cbc512f3be
Efficient type plus annotation comparisons during converter retrieval
...
Issue: SPR-14926
Issue: SPR-12926
(cherry picked from commit f6b8b84 )
2016-12-01 14:11:34 +01:00
Juergen Hoeller
62631bfe33
Detect invalid configuration for autoGrowCollectionLimit on DataBinder
...
Issue: SPR-14888
2016-11-08 17:47:29 +01:00
Juergen Hoeller
db1a84ede1
Polishing
2016-11-07 18:48:35 +01:00
Juergen Hoeller
9be1710dca
@Async docs explicitly mention ListenableFuture and CompletableFuture
...
Issue: SPR-14881
(cherry picked from commit 8df45dd )
2016-11-04 13:30:11 +01:00
Juergen Hoeller
e83c11667f
ApplicationListenerDetector ignores non-managed bean instances
...
Issue: SPR-14879
(cherry picked from commit 8ae0bd6 )
2016-11-03 23:20:06 +01:00
Juergen Hoeller
9e67ba83a5
Consistent support for early placeholder resolution in properties locations
...
Issue: SPR-10502
(cherry picked from commit 8053fef )
2016-11-03 14:53:46 +01:00
Juergen Hoeller
2bb3522bbb
ReloadableResourceBundleMessageSource sets file timestamp on merged holder
...
Issue: SPR-14583
(cherry picked from commit 03468fd )
2016-11-03 14:53:24 +01:00
Juergen Hoeller
77e00f1926
Polishing
2016-10-31 20:40:46 +01:00
Juergen Hoeller
bf0df54136
Consistent instanceof/casting of Class references
...
(cherry picked from commit ac80ac6 )
2016-10-31 11:50:59 +01:00
Juergen Hoeller
144f687ee9
Polishing
...
(cherry picked from commit 2f9ed59 )
2016-10-31 11:50:36 +01:00
Juergen Hoeller
0ee8322947
Revised NoSuchBeanDefinitionException message and ResolvableType handling
...
Includes consistent quoting of qualified type names in related classes.
Issue: SPR-14831
(cherry picked from commit dc080cb )
2016-10-31 11:50:15 +01:00
Juergen Hoeller
2b459881bd
ApplicationListener detection for inner beans behind post-processors
...
Issue: SPR-14783
(cherry picked from commit c946924 )
2016-10-31 11:49:06 +01:00
Juergen Hoeller
62918ca779
TypeDescriptor supports merged annotation lookups (for composable formatting annotations)
...
Issue: SPR-14844
(cherry picked from commit bf9083d )
2016-10-31 11:46:30 +01:00
Juergen Hoeller
3cca57a801
Local merged annotation lookup in SpringCacheAnnotationParser
...
Issue: SPR-14781
Issue: SPR-14801
(cherry picked from commit 08972ef )
2016-10-31 11:45:35 +01:00
Juergen Hoeller
fbad637235
SimpleApplicationEventMulticaster just swallows event downcast exceptions
...
Issue: SPR-14846
(cherry picked from commit 13001b9 )
2016-10-31 11:44:26 +01:00
Stephane Nicoll
2c2c6f8e02
Fix broken build
...
This commit fixes the direct use of Java8 API
Issue: SPR-14853
2016-10-27 10:30:54 +02:00
Stephane Nicoll
4e3a6b9404
Polish
2016-10-27 10:01:51 +02:00
Stephane Nicoll
76bbccb4dc
Allow @Cacheable method to return Optional
...
This commit further refines 240f254 to also support java.util.Optional
for synchronized cache access (i.e. when the `sync` attribute on
`@Cacheable` is set to `true`).
Issue: SPR-14853
2016-10-27 10:00:34 +02:00
Stephane Nicoll
1c4433555a
Move NoOpCache to a top-level public class
...
This commit moves `NoOpCache` to a top-level public class to allow reuse
in custom CacheManager arrangement.
Issue: SPR-14856
2016-10-27 09:09:51 +02:00