Juergen Hoeller
206a89017c
Test detection of original generic method for CGLIB bridge method
...
See gh-32888
2 years ago
Juergen Hoeller
9a31f3b5a5
Consistently propagate ApplicationStartup to BeanFactory
...
Closes gh-32747
(cherry picked from commit 25cedcfb9959bad9441c45029d62b5df07cc1b11)
2 years ago
Juergen Hoeller
94097fb112
Polishing (aligned with 6.1.x)
2 years ago
Juergen Hoeller
9412d782ce
Revised tests for generic FactoryBean type matching (backported)
...
See gh-32489
2 years ago
Juergen Hoeller
a0bd13ceb1
Do not extract FactoryBean generic in case of targetType mismatch
...
Closes gh-32489
2 years ago
Juergen Hoeller
40d5196243
Polishing
2 years ago
Juergen Hoeller
5187281b50
Polishing
2 years ago
Juergen Hoeller
b06305e64f
Compare qualifier value arrays with equality semantics
...
Closes gh-32106
(cherry picked from commit c5a75219ceb5b5bc6a1afbeddff161d4e3f3a753)
2 years ago
Sébastien Deleuze
338922f03d
Find destroy methods in superclass interfaces
...
Related tests will be added in
https://github.com/spring-projects/spring-aot-smoke-tests .
Closes gh-32017
2 years ago
Juergen Hoeller
867a199507
Propagate arguments for dynamic prototype-scoped advice
...
Closes gh-28407
(cherry picked from commit 43107e7eb1 )
2 years ago
Juergen Hoeller
198cf063fd
Polishing
2 years ago
Juergen Hoeller
033c8df53f
Polishing
2 years ago
Juergen Hoeller
ccaecab500
Polishing
2 years ago
Juergen Hoeller
76bc9cf325
Prepare method overrides when bean class gets resolved
...
See gh-31826
See gh-31828
(cherry picked from commit cd64e6676c )
2 years ago
Juergen Hoeller
627d9cf8be
Polishing
2 years ago
Juergen Hoeller
10391586d1
PathEditor considers single-letter URI scheme as NIO path candidate
...
Closes gh-29881
(cherry picked from commit c56c3045364a93d135309536cc905e56a2eae38d)
2 years ago
Juergen Hoeller
f4ac323409
Test for mixed order across bean factory hierarchy
...
See gh-28374
(cherry picked from commit 48f3c0839563cd8999870d90a963326099553e2f)
2 years ago
Juergen Hoeller
925fa0272b
Polishing
2 years ago
Juergen Hoeller
09aa59f9e7
Avoid ResolvableType for simple assignability check in copyProperties
...
Closes gh-27246
2 years ago
Juergen Hoeller
6bdf7ad36a
Polishing
2 years ago
Stéphane Nicoll
f3dce4bb9a
Polish "Ignore @Value on record property"
...
See gh-31433
2 years ago
Martin Lukas
70cb96c1d8
Ignore @Value on record property
...
See gh-31433
2 years ago
Stéphane Nicoll
fef3cf8e58
Review AOT-generated code for beanClass and targetType
...
This commit reviews when an AOT-generated bean definition defines a
beanClass or targetType. Previously, a beanClass was not consistently
set which could lead to issues.
Closes gh-31242
2 years ago
Stephane Nicoll
1396daa4b6
Polish "Make sure NoUniqueBeanDefinitionException to be serializable"
...
See gh-29753
2 years ago
Per Lundberg
1b409d5290
Make sure NoUniqueBeanDefinitionException to be serializable
...
See gh-29753
2 years ago
Juergen Hoeller
8b3ddeed05
Test factory-bean/method placeholders as well
...
See gh-20189
2 years ago
Juergen Hoeller
6baa60d454
Polishing
2 years ago
Juergen Hoeller
156b3696a7
Reinstate Introspector.flushFromCaches() call for JDK ClassInfo cache
...
Closes gh-27781
2 years ago
xumengqi
07a1aea9c7
Skip array sort when the length of array not greater than 1
...
Closes gh-30934
2 years ago
Juergen Hoeller
18966d048c
Consistent equals/hashCode style (and related polishing)
2 years ago
Juergen Hoeller
7e6612a920
Sort multiple @Autowired methods on same bean class via ASM
...
Closes gh-30359
2 years ago
Juergen Hoeller
9333ed22f6
Avoid repeated FactoryBean targetType check
...
See gh-30987
2 years ago
Juergen Hoeller
4b6fabbd2f
Polishing
2 years ago
Juergen Hoeller
cba2b6eaf4
Check FactoryBean targetType for generic type as well
...
Closes gh-30987
2 years ago
Sam Brannen
2e07a72119
Delete duplicate DummyFactory
2 years ago
Juergen Hoeller
d250a5155a
Consistent dependency declarations
2 years ago
Juergen Hoeller
bbde68c49e
Polishing
2 years ago
Juergen Hoeller
fdf1418dfb
Polishing
2 years ago
Juergen Hoeller
2f33e77ab4
Consistent equals/hashCode style (and related polishing)
2 years ago
Juergen Hoeller
1ac0549881
Polishing
2 years ago
Juergen Hoeller
161a717639
Avoid synchronization for shortcut re-resolution
...
See gh-30883
3 years ago
Sam Brannen
30d6ec3398
Update copyright headers
3 years ago
Juergen Hoeller
6183f06846
Cache DependencyDescriptor per autowired constructor argument
...
Aligned with shortcut handling in AutowiredAnnotationBeanPostProcessor.
Includes minor MethodInvoker optimization for pre-resolved targetClass.
Closes gh-30883
3 years ago
Sam Brannen
a34f9fa66c
Update copyright headers
3 years ago
Stephane Nicoll
4dc93bc485
Avoid ambiguous call with BeanInstanceSupplier#withGenerator
...
Previously, BeanInstanceSupplier had three variants of the
`withGenerator` callback, one with a bi function, one with a function,
and with a supplier. This could lead to compilation failure when the
target type has a method with the same name and a number of arguments
that match another variant.
It turns out the supplier-based variant is only used a shortcut. This
commit deprecates it and update ghe code generation to use the function
instead.
Closes gh-29278
3 years ago
Sam Brannen
68f2b0ca59
Rely on auto-boxing in tests
3 years ago
Juergen Hoeller
d03b6aa1d6
Reinstate support for legacy JSR-250 Resource annotation
...
This merges the existing support for the legacy JSR-250 PostConstruct/PreDestroy annotations into CommonAnnotationBeanPostProcessor itself, opening up the InitDestroyAnnotationBeanPostProcessor base class for multiple init/destroy methods in a single post-processor. This removes the need for a separate JSR-250 InitDestroyAnnotationBeanPostProcessor in AnnotationConfigUtils.
Closes gh-30695
3 years ago
Sam Brannen
b32b4f3a59
Polish DefaultSingletonBeanRegistryTests
3 years ago
Sam Brannen
502997d8e9
Further simplify DefaultSingletonBeanRegistry.isDependent()
...
See gh-30839
3 years ago
bnbakp0582
fb4ad2f3ba
Simplify DefaultSingletonBeanRegistry.isDependent()
...
Move `alreadySeen` handling out of for-loop.
Closes gh-30839
3 years ago