Juergen Hoeller
d675132ac0
Improve SpringValidatorAdapter and MethodValidationAdapter performance
...
Closes gh-36621
(cherry picked from commit b8f1005897 )
2026-04-08 13:57:27 +02:00
Juergen Hoeller
2801c7e23e
Avoid MessageFormat rendering for exception messages in binding errors
...
Closes gh-36609
(cherry picked from commit 0150c4ba06 )
2026-04-08 13:57:22 +02:00
Sam Brannen
d78d80b02a
Skip annotations that cannot be processed in AnnotationBeanNameGenerator
...
Prior to this commit, AnnotationBeanNameGenerator failed when searching
for a convention-based bean name, if an annotation referenced a
non-existent class.
To address that, this commit introduces a try-catch block around each
invocation of MergedAnnotation.asAnnotationAttributes() and skips
processing of the current MergedAnnotation if an exception occurs,
which is likely due to a type referenced from an annotation attribute
not being present in the classpath.
See gh-31203
Closes gh-36524
(cherry picked from commit 00fbd91cca )
2026-04-02 16:57:09 +02:00
Juergen Hoeller
9ceb9efb2c
Polishing
2026-04-01 21:25:11 +02:00
Sam Brannen
9af3961b9b
Deprecate methodIdentification() in CacheAspectSupport for removal
...
CacheAspectSupport currently contains a protected methodIdentification()
method which is not used internally within the framework, and it appears
that it was accidentally copied from TransactionAspectSupport when the
caching support was first introduced.
In light of that, this commit deprecates it for removal in 7.1.
See gh-36576
Closes gh-36576
(cherry picked from commit 22adccd190 )
2026-03-31 17:51:17 +02:00
Juergen Hoeller
aff0ce1a00
Polishing
2026-03-28 20:53:26 +01:00
Juergen Hoeller
41f4072670
Fix ApplicationListenerMethodAdapter name in error message
2026-03-28 11:42:46 +01:00
Juergen Hoeller
db6111fabe
Add documentation notes on error handling with sync=true
...
See gh-36531
(cherry picked from commit 529a6fc932 )
2026-03-28 11:23:59 +01:00
Sam Brannen
e598df8c60
Fix common typos and grammatical mistakes
...
Closes gh-36471
(cherry picked from commit 5eb0e99d58 )
2026-03-15 17:19:28 +01:00
Sam Brannen
0c4ed55fd2
Consistently use American English spelling
...
Since the Spring Framework uses American English spelling, this commit
updates Javadoc and the reference manual to ensure consistency in that
regard. However, there are two exceptions to this rule that arise due
to their use within a technical context.
- We use "cancelled/cancelling" instead of "canceled/canceling" in
numerous places (including error messages).
- We use "implementor" instead of "implementer".
Closes gh-36470
(cherry picked from commit 17699103dc )
2026-03-15 17:16:39 +01:00
Sam Brannen
47dc1c4d93
Fix log message in ConfigurationClassBeanDefinitionReader
...
The log message now properly generates the fully-qualified method name
and includes the resolved bean name as well.
Closes gh-36453
(cherry picked from commit e634ced56b )
2026-03-12 16:25:03 +01:00
Sam Brannen
131f94fbc5
Use link for first reference to @Fallback in @Bean Javadoc
...
See gh-36439
(cherry picked from commit 37e8aa76e9 )
2026-03-10 17:54:05 +01:00
Sam Brannen
d4f4c69318
Document @Fallback alongside Primary in the reference docs and @Bean Javadoc
...
Closes gh-36439
(cherry picked from commit 27686dc2e2 )
2026-03-10 17:28:49 +01:00
Sam Brannen
74ab6625ac
Document registration recommendations for BeanPostProcessor and BeanFactoryPostProcessor
...
Closes gh-34964
(cherry picked from commit 3b8efbe5a6 )
2026-03-10 13:09:35 +01:00
Sam Brannen
7c27183a4f
Polishing
...
(cherry picked from commit 6f2e59a995 )
2026-03-10 13:09:26 +01:00
Sam Brannen
526f67cd83
Polish @Bean Javadoc and reference docs
...
(cherry picked from commit 644a20ae2a )
2026-03-10 13:09:17 +01:00
Juergen Hoeller
cd9a430869
Polishing
...
(cherry picked from commit 4734c15d81 )
2026-03-03 23:38:55 +01:00
cetf
2bbea84830
Fix format string argument count
...
Fixes: gh-36410
Signed-off-by: cetf <cetf9h@163.com >
2026-03-03 12:15:12 +01:00
Juergen Hoeller
566a42bec9
Remove prefixed FactoryBean name in ApplicationListenerDetector
...
Closes gh-36404
(cherry picked from commit a3b9098850 )
2026-03-01 12:10:44 +01:00
Juergen Hoeller
b619e69130
Polishing (aligned with main)
2026-02-24 18:04:40 +01:00
Juergen Hoeller
a0319b1f91
Repeatedly check status while trying to lock for shutdown
...
Closes gh-36260
(cherry picked from commit 20970a4a37 )
2026-02-06 19:04:55 +01:00
Juergen Hoeller
1ec3cb4d5f
Polishing (aligned with main)
2026-01-27 21:25:23 +01:00
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
2025-12-17 14:56:12 +01:00
Juergen Hoeller
8041a09268
Polishing
2025-12-05 16:23:12 +01:00
Juergen Hoeller
1fd1d8d629
Polishing
...
(cherry picked from commit 07c0213f20 )
2025-12-04 00:40:02 +01:00
Juergen Hoeller
b25f98374b
Tighten cacheable decision behind @Lazy injection point
...
Closes gh-35917
(cherry picked from commit 61d5413c23 )
2025-11-27 16:03:27 +01:00
Juergen Hoeller
bd10b7ae06
Remove javadoc references to deprecated PropertiesBeanDefinitionReader
...
Closes gh-35836
(cherry picked from commit 35b8fbf901 )
2025-11-19 16:21:33 +01:00
Juergen Hoeller
e4288170c8
Fix getCacheNames() concurrent access in NoOpCacheManager
...
Closes gh-35842
(cherry picked from commit 57a1d4007b )
2025-11-18 13:50:13 +01:00
Juergen Hoeller
8545a759a7
Add resetCaches() method to Caffeine/ConcurrentMapCacheManager
...
Closes gh-35840
(cherry picked from commit bc3431f435 )
2025-11-18 13:49:20 +01:00
Juergen Hoeller
f94645de17
Narrow Aware interface exclusion check to BeanFactoryAware only
...
Closes gh-35835
(cherry picked from commit de5b9aab55 )
2025-11-18 13:48:32 +01:00
Juergen Hoeller
38555df3d8
Fix Aware exclusion check to apply to interface method only
...
See gh-35780
2025-11-08 09:53:17 +01:00
Juergen Hoeller
6f81cb625c
Avoid unnecessary bridge method resolution around getMostSpecificMethod
...
Closes gh-35780
2025-11-08 09:16:31 +01:00
Juergen Hoeller
4f97c41e58
Avoid javadoc failure for line break with annotation reference
...
See gh-35736
2025-11-05 12:35:09 +01:00
Juergen Hoeller
b027b73a7a
Relax configuration class requirement in configurer callback javadoc
...
Closes gh-35736
2025-11-05 12:22:44 +01:00
Sam Brannen
ae804cb2d0
Improve @NumberFormat Javadoc
...
See gh-35742
2025-11-02 16:23:47 +01:00
Stefano Cordio
46503d6a45
Fix typo in @NumberFormat Javadoc
...
Closes gh-35742
Signed-off-by: Stefano Cordio <stefano.cordio@gmail.com >
2025-11-02 16:14:11 +01:00
rstoyanchev
810e069bcc
FieldError uses HexFormat to format byte[]
...
See gh-35675
2025-10-24 13:01:28 +01:00
Juergen Hoeller
7adcd99ea2
Polishing
2025-10-21 00:59:56 +02:00
Juergen Hoeller
c53132ecdf
Polishing
2025-10-15 19:40:09 +02:00
Sam Brannen
a96558c965
Revise commit 01acb80501
...
See gh-35631
2025-10-15 12:48:52 +02:00
Sam Brannen and Andy Wilkinson
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 >
2025-10-15 11:26:06 +02:00
Juergen Hoeller
83efe8cff4
Remove deprecation on CandidateComponentsIndex(Loader)
...
See gh-35472
2025-10-11 15:10:42 +02:00
Juergen Hoeller
c2a66e723f
Polishing
2025-10-09 20:34:03 +02:00
Juergen Hoeller
1bc82d241a
Remove deprecation on CandidateComponentsIndex(Loader)
...
Closes gh-35472
2025-10-09 20:26:59 +02:00
Juergen Hoeller
80e7ee321e
Mark bootstrap thread for entire finishBeanFactoryInitialization phase
...
Closes gh-35398
2025-10-06 14:08:03 +02:00
Juergen Hoeller
e3da26ebbd
Clarify event parameter type for multiple mapped classes
...
Closes gh-35506
2025-10-01 19:55:42 +02:00
Brian Clozel
d85a020e4e
Improve Task Javadoc about Runnable wrapping
...
Closes gh-35394
2025-09-19 18:05:02 +02:00
Juergen Hoeller
5df9fd4eff
Polishing (aligned with main)
2025-08-06 19:01:18 +02:00
Juergen Hoeller
67e88f3c20
Align task execution tracking and thread interruption on shutdown
...
Closes gh-35254
2025-08-01 21:15:25 +02:00
Sébastien Deleuze
5e338ef1b8
Make MessageSource locale parameter nullable
...
Closes gh-35230
2025-07-23 16:02:38 +02:00