Juergen Hoeller
b945e0f202
Polishing
...
(cherry picked from commit 6d6cf01
)
2017-02-28 14:00:59 +01:00
Juergen Hoeller
ce3cf3251d
Tests for annotation lookups in interfaces (currently ignored for CGLIB proxies)
...
Issue: SPR-15271
Issue: SPR-14949
Issue: SPR-14322
(cherry picked from commit d003f66
)
2017-02-28 14:00:39 +01:00
Juergen Hoeller
d69fb06852
Skip transaction/caching metadata retrieval for java.lang.Object methods
...
Also retrieves CacheConfig as merged annotation now, aligned with other caching annotations.
Issue: SPR-15296
(cherry picked from commit d4a1b59
)
2017-02-28 14:00:33 +01:00
Juergen Hoeller
c734c3a3fe
Polishing
2017-02-22 16:32:21 +01:00
Juergen Hoeller
a48a956c0c
ConfigurationClassEnhancer explicitly handles non-interceptable FactoryBeans
...
Issue: SPR-15275
(cherry picked from commit 7fb0ad3
)
2017-02-22 16:31:48 +01:00
Stephane Nicoll
278199d467
Revert "Improve allowNullValue handling when a null value is provided"
...
This reverts commit fd568f3e96
.
2017-02-20 16:36:23 +01:00
Stephane Nicoll
fd568f3e96
Improve allowNullValue handling when a null value is provided
...
This commit improves `AbstractValueAdaptingCache` to throw a dedicated
exception if `allowNullValues` is `false` and a `null` value is provided
anyway. This avoid a lower-level exception from the cache library that
will miss some context.
Issue: SPR-15173
2017-02-20 16:24:34 +01:00
Juergen Hoeller
0f71f58616
Polishing
2017-02-18 00:52:12 +01:00
Juergen Hoeller
b0ef80c3ff
Polishing
2017-02-16 14:20:40 +01:00
Juergen Hoeller
6e93834e27
Correct explanation of example patterns
...
Issue: SPR-15240
(cherry picked from commit e1bb697
)
2017-02-10 11:47:10 +01:00
Juergen Hoeller
d6216fb74a
Consistent logging in ignoreResourceNotFound scenarios
...
Issue: SPR-15218
(cherry picked from commit 448ea4c
)
2017-02-10 11:46:24 +01:00
Juergen Hoeller
28849e0987
Revisit Assert to avoid single-arg assert methods (with refined messages)
...
Issue: SPR-15196
(cherry picked from commit 1b2dc36
)
2017-01-31 10:28:46 +01:00
Juergen Hoeller
3304efd64d
Consistent type variable resolution for arrays/collections (in particular at field level)
...
Deprecating GenericCollectionTypeResolver in favor of direct ResolvableType usage.
Issue: SPR-15160
(cherry picked from commit 5e946c2
)
2017-01-24 19:31:41 +01:00
Juergen Hoeller
fcfacd9f83
Polishing
...
(cherry picked from commit f095aa2
)
2017-01-23 23:47:01 +01:00
Juergen Hoeller
9e4d74c502
Consider abstract classes with @Lookup methods as candidate components
...
Issue: SPR-14550
(cherry picked from commit 7d3fcaa
)
2017-01-23 23:31:31 +01:00
Juergen Hoeller
9b221f58b9
Document further configuration class restrictions
...
Issue: SPR-14602
(cherry picked from commit 6fe7e56
)
2017-01-23 23:31:03 +01:00
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