Juergen Hoeller
9a0bfd7306
Do not attempt nested PropertyHandler resolution for argument conversion
...
This is not actually triggered on 6.2.x but nevertheless worth aligning.
Includes fix for return type declaration in PropertyAccessor subclasses.
Includes related polishing from main commits.
See gh-36024
1 day ago
Juergen Hoeller
8041a09268
Polishing
2 weeks ago
Juergen Hoeller
1fd1d8d629
Polishing
...
(cherry picked from commit 07c0213f20 )
2 weeks ago
Juergen Hoeller
b25f98374b
Tighten cacheable decision behind @Lazy injection point
...
Closes gh-35917
(cherry picked from commit 61d5413c23 )
3 weeks ago
Juergen Hoeller
22d2810ed0
Narrow method annotation check in hasQualifier to setter methods
...
Closes gh-35908
(cherry picked from commit 6c3132cb8c )
3 weeks ago
Juergen Hoeller
bd10b7ae06
Remove javadoc references to deprecated PropertiesBeanDefinitionReader
...
Closes gh-35836
(cherry picked from commit 35b8fbf901 )
4 weeks ago
Juergen Hoeller
e4288170c8
Fix getCacheNames() concurrent access in NoOpCacheManager
...
Closes gh-35842
(cherry picked from commit 57a1d4007b )
1 month ago
Juergen Hoeller
8545a759a7
Add resetCaches() method to Caffeine/ConcurrentMapCacheManager
...
Closes gh-35840
(cherry picked from commit bc3431f435 )
1 month ago
Juergen Hoeller
f94645de17
Narrow Aware interface exclusion check to BeanFactoryAware only
...
Closes gh-35835
(cherry picked from commit de5b9aab55 )
1 month ago
Juergen Hoeller
38555df3d8
Fix Aware exclusion check to apply to interface method only
...
See gh-35780
1 month ago
Juergen Hoeller
6f81cb625c
Avoid unnecessary bridge method resolution around getMostSpecificMethod
...
Closes gh-35780
1 month ago
Juergen Hoeller
4f97c41e58
Avoid javadoc failure for line break with annotation reference
...
See gh-35736
1 month ago
Juergen Hoeller
b027b73a7a
Relax configuration class requirement in configurer callback javadoc
...
Closes gh-35736
1 month ago
Sam Brannen
ae804cb2d0
Improve @NumberFormat Javadoc
...
See gh-35742
2 months ago
Stefano Cordio
46503d6a45
Fix typo in @NumberFormat Javadoc
...
Closes gh-35742
Signed-off-by: Stefano Cordio <stefano.cordio@gmail.com>
2 months ago
Juergen Hoeller
a40647a62f
Remove empty ConstraintValidator#initialize implementations
2 months ago
rstoyanchev
810e069bcc
FieldError uses HexFormat to format byte[]
...
See gh-35675
2 months ago
Juergen Hoeller
7adcd99ea2
Polishing
2 months ago
Juergen Hoeller
c53132ecdf
Polishing
2 months ago
Sam Brannen
a96558c965
Revise commit 01acb80501
...
See gh-35631
2 months ago
Sam Brannen
1612b7c5db
Remove test prefixes
2 months ago
Sam Brannen
01acb80501
Improve exception handling in ConfigurationClassBeanDefinitionReader
...
Thanks to a proposal from @wilkinsona , this commit introduces a
try-catch block in loadBeanDefinitions(...) which throws an
IllegalStateException that provides context regarding the configuration
class and cause of the failure.
Closes gh-35631
Co-authored-by: Andy Wilkinson <andy.wilkinson@broadcom.com>
2 months ago
Juergen Hoeller
83efe8cff4
Remove deprecation on CandidateComponentsIndex(Loader)
...
See gh-35472
2 months ago
Juergen Hoeller
c2a66e723f
Polishing
2 months ago
Juergen Hoeller
1bc82d241a
Remove deprecation on CandidateComponentsIndex(Loader)
...
Closes gh-35472
2 months ago
Juergen Hoeller
80e7ee321e
Mark bootstrap thread for entire finishBeanFactoryInitialization phase
...
Closes gh-35398
2 months ago
Juergen Hoeller
e3da26ebbd
Clarify event parameter type for multiple mapped classes
...
Closes gh-35506
3 months ago
Brian Clozel
d85a020e4e
Improve Task Javadoc about Runnable wrapping
...
Closes gh-35394
3 months ago
Juergen Hoeller
55181fa1c9
Polishing
4 months ago
Juergen Hoeller
5df9fd4eff
Polishing (aligned with main)
4 months ago
Juergen Hoeller
67e88f3c20
Align task execution tracking and thread interruption on shutdown
...
Closes gh-35254
5 months ago
Sébastien Deleuze
5e338ef1b8
Make MessageSource locale parameter nullable
...
Closes gh-35230
5 months ago
Juergen Hoeller
2434bb1540
Polishing
5 months ago
Juergen Hoeller
4277682a5c
Catch InaccessibleObjectException next to IllegalAccessException
...
Closes gh-35190
5 months ago
Juergen Hoeller
25b4e29f5e
Polishing
5 months ago
Juergen Hoeller
3bd96f72a6
Leniently tolerate null bean as aspect instance
...
Closes gh-35074
5 months ago
Sam Brannen
ad00aebaa3
Improve Javadoc for caching annotations
5 months ago
Sam Brannen
d07ed31fed
Support @CacheConfig("myCache") declarations for simplified config
...
The @CacheConfig section of the reference manual provides an example
that declares @CacheConfig("books").
However, unlike the @Cacheable, @CachePut, and @CacheEvict
annotations, @CacheConfig currently does not have a `value` alias for
the `cacheNames` attribute. Thus, the example in the reference manual
does not compile, and @CacheConfig(cacheNames = "books") would be the
supported way to declare that.
The driving factor for this commit is therefore to provide a simplified
and consistent programming model for users that only need to define
default cache names at the type level (like in the existing example in
the reference manual).
To address that, this commit introduces a `value` alias for
`cacheNames` in @CacheConfig.
See gh-35096
Closes gh-35152
(cherry picked from commit 6091453feb )
5 months ago
Juergen Hoeller
15364cf59f
Polishing
6 months ago
Juergen Hoeller
b6aa6899a8
Polishing
6 months ago
Juergen Hoeller
4190209ead
Add missing AOT support for method overrides (including @Lookup )
...
Closes gh-34642
6 months ago
Juergen Hoeller
00399dc1b3
Reject null for returned CompletableFuture (avoiding subsequent NPE)
...
See gh-34708
6 months ago
Sam Brannen
103a7e58bb
Apply consistent copyright headers in Kotlin source code
...
See gh-35070
6 months ago
Spring Builds
aee29b7f30
Update copyright headers in source files
...
This commit updates Java, Kotlin, and Groovy source files to use the
"<year>-present" pattern in copyright headers.
Closes gh-35070
6 months ago
Sam Brannen
18d6a55e3e
Polishing and removal of "this." for method invocations
6 months ago
Juergen Hoeller
d9c103b7ff
Remove unnecessary fallback to DefaultConversionService
...
See gh-34936
7 months ago
Tran Ngoc Nhan
3f0892b42c
Fix typos
...
Closes gh-34876
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
7 months ago
Sam Brannen
016294b067
Avoid overriding methods deprecated in JUnit Jupiter 5.13
...
See gh-34969
7 months ago
Sam Brannen
90be94a4a5
Use ConversionService from Environment in PropertySourcesPlaceholderConfigurer
...
This commit fixes a regression in PropertySourcesPlaceholderConfigurer
that was introduced in Spring Framework 6.2.7.
Specifically, this commit reinstates automatic String-conversion of
values from PropertySources in the Environment using the
ConversionService configured in the Environment.
See gh-34861
Closes gh-34936
7 months ago
Juergen Hoeller
15d1455acb
Check for package-visible constructor in case of ClassLoader mismatch
...
Closes gh-34950
7 months ago