Vincent Potucek
83bbf16e6c
Modernize java.time API usages
...
See gh-35861
Signed-off-by: Vincent Potucek <vpotucek@me.com>
3 weeks ago
Juergen Hoeller
3686b89ab5
Revise proxyTargetClass handling in ResilientMethodsConfiguration and ProxyAsyncConfiguration
...
An annotation-specified proxyTargetClass attribute must only be applied when true, otherwise we need to participate in global defaulting.
Closes gh-35863
3 weeks ago
Juergen Hoeller
35b8fbf901
Remove javadoc references to deprecated PropertiesBeanDefinitionReader
...
Closes gh-35836
4 weeks ago
Juergen Hoeller
57a1d4007b
Fix getCacheNames() concurrent access in NoOpCacheManager
...
Closes gh-35842
1 month ago
Juergen Hoeller
bc3431f435
Add resetCaches() method to Caffeine/ConcurrentMapCacheManager
...
Closes gh-35840
1 month ago
Juergen Hoeller
de5b9aab55
Narrow Aware interface exclusion check to BeanFactoryAware only
...
Closes gh-35835
1 month ago
Sam Brannen
fac8708857
Migrate CronTriggerTests to @ParameterizedClass
...
This commit migrates CronTriggerTests to @ParameterizedClass as a proof
of concept for how this can be applied across the code base.
See gh-35833
1 month ago
Tran Ngoc Nhan
18d8d458e3
Fix typos in tests
...
Closes gh-35815
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
1 month ago
Juergen Hoeller
39d29c8f7e
Replace ConcurrentReferenceHashMap with synchronized IdentityHashMap
...
Closes gh-35788
1 month ago
Juergen Hoeller
0552cdb7ed
Revise ConcurrentReferenceHashMap for @ConcurrencyLimit race condition
...
Closes gh-35788
See gh-35794
1 month ago
Sam Brannen
24590092ef
Rename maxAttempts to maxRetries in @Retryable and RetryPolicy
...
Prior to this commit, the maximum number of retry attempts was
configured via @Retryable(maxAttempts = ...),
RetryPolicy.withMaxAttempts(), and RetryPolicy.Builder.maxAttempts().
However, this led to confusion for developers who were unsure if
"max attempts" referred to the "total attempts" (i.e., initial attempt
plus retry attempts) or only the "retry attempts".
To improve the programming model, this commit renames maxAttempts to
maxRetries in @Retryable and RetryPolicy.Builder and renames
RetryPolicy.withMaxAttempts() to RetryPolicy.withMaxRetries(). In
addition, this commit updates the documentation to consistently point
out that total attempts = 1 initial attempt + maxRetries attempts.
Closes gh-35772
1 month ago
Sam Brannen
388abf9312
Fix Javadoc link
1 month ago
Sam Brannen
e91befa5bb
Polishing
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
Sam Brannen
205f3e392d
Clean up warnings in tests
2 months ago
Sébastien Deleuze
7509e257d1
Remove outdated Portlet mentions
...
Closes gh-35726
2 months ago
Sébastien Deleuze
4880ed5c33
Deprecate the lang XML namespace
...
And remove the related reference documentation.
Closes gh-35719
2 months ago
Sébastien Deleuze
b1cd508016
Deprecate the BeanShell scripting support
...
Closes gh-35720
2 months ago
Sébastien Deleuze
0bcff38f8e
Polishing
...
Closes gh-34372
2 months ago
Yasumasa Suenaga
706ea2c213
Fix potential CRaC hangup after restoring
...
See gh-34372
Signed-off-by: Yasumasa Suenaga <yasuenag@gmail.com>
2 months ago
Juergen Hoeller
a40647a62f
Remove empty ConstraintValidator#initialize implementations
2 months ago
Sébastien Deleuze
694224f1a6
Remove outdated Spring version mentions
...
Close gh-35696
2 months ago
Sébastien Deleuze
6ac13d16d8
Relax BeanRegistrar checks on bean definition attributes
...
This commit allows legit usage of AutoProxyUtils bean definition
attributes with BeanRegistrar.
Closes gh-35645
2 months ago
Sébastien Deleuze
4356fc11e1
Revert "Add support for callable references to BeanRegistrarDsl"
...
This reverts commit aa9ab8e545 .
See gh-35694
2 months ago
rstoyanchev
a982c9b481
ObjectUtils uses HexFormat to format byte[]
...
Also remove equivalent, applied temporarily in FieldError in 6.2.x.
Closes gh-35675
2 months ago
rstoyanchev
810e069bcc
FieldError uses HexFormat to format byte[]
...
See gh-35675
2 months ago
Juergen Hoeller
7adcd99ea2
Polishing
2 months ago
Sébastien Deleuze
5fd3c9c449
Fix `@Import` with multiple bean registrars
...
This commit uses a MultiValueMap instead of a Map to store bean
registrars, allowing to support multiple bean registrars imported by
the same configuration class.
Closes gh-35653
2 months ago
wakingrufus
b65390828e
Add a test for multiple bean registrars
...
This commit add a test for multiple bean registrars imported by the same
configuration class.
See gh-35653
Signed-off-by: wakingrufus <wakingrufus@gmail.com>
2 months ago
Juergen Hoeller
c53132ecdf
Polishing
2 months ago
Sébastien Deleuze
b46c41bb3a
Add first class ParameterizedTypeReference support to BeanRegistrar
...
This commit replaces ParameterizedTypeReference and ResolvableType
target type customization with the lambda by directly exposing
ParameterizedTypeReference methods at top level, as generics
variants of the class-based existing ones.
Closes gh-35635
2 months ago
Juergen Hoeller
2e4ca41382
Add getBeanProvider(ParameterizedTypeReference) overload
...
Closes gh-31444
2 months ago
Juergen Hoeller
7dc78a4318
Align default order between @EnableAsync and @EnableResilientMethods
...
Retries async methods with Future return types in non-reactive path.
Closes gh-35643
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
Sébastien Deleuze
180ea125d2
Stop using --report-unsupported-elements-at-runtime
...
This commit stop using the --report-unsupported-elements-at-runtime
deprecated option with GraalVM 25+.
Closes gh-35632
2 months ago
Sébastien Deleuze
1f2948f78c
Stop using --install-exit-handlers
...
This commit stop using the --install-exit-handlers deprecated option
which is enabled by default with GraalVM 25+.
Closes gh-35557
2 months ago
Brian Clozel
f9b691cad4
Revert "Enable new build options for GraalVM 25 native image builds"
...
This reverts commit 9975113879 .
2 months ago
Brian Clozel
9975113879
Enable new build options for GraalVM 25 native image builds
...
Closes gh-35616
2 months ago
Dariusz Jędrzejczyk
b2c84ac038
Adapt to Reactor 3.8 JSpecify annotations
...
Closes gh-35501
Signed-off-by: Dariusz Jędrzejczyk <dariusz.jedrzejczyk@broadcom.com>
2 months ago
Sam Brannen
a5d9bd64be
Test package pattern support for CandidateComponentsIndex and restructure tests
2 months ago
Sam Brannen
0fc7c41ddc
Improve Javadoc for CandidateComponentsIndex
2 months ago
Sam Brannen
b727dbb802
Introduce tests for CandidateComponentsIndex.hasScannedPackage()
...
This indirectly tests the implementation of matchPackage(), which was
fixed in the previous commit.
See gh-35497
See gh-35601
2 months ago
NeatGuyCoding
113b9d131c
Fix non-pattern package prefix check in CandidateComponentsIndex
...
Prior to this commit, the non-pattern package prefix check used
packageName.startsWith(basePackage) which incorrectly treats
"com.example2.foo" as a subpackage of "com.example".
Closes gh-35601
Signed-off-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com>
2 months ago