Juergen Hoeller
b5377ee9cf
Polishing
1 year ago
Juergen Hoeller
fd7e7633d4
Polishing
1 year ago
Stéphane Nicoll
be7029c35d
Retain previous factory method in case of nested invocation with AOT
...
This commit harmonizes the invocation of a bean supplier with what
SimpleInstantiationStrategy does. Previously, the current factory method
was set to `null` once the invocation completes. This did not take
into account recursive scenarios where an instance supplier triggers
another instance supplier.
For consistency, the thread local is removed now if we attempt to set
the current method to null. SimpleInstantiationStrategy itself uses
the shortcut to align the code as much as possible.
Closes gh-33185
1 year ago
Juergen Hoeller
069d0819dd
Apply fallback resolution for non-hierarchical URIs such as "file:."
...
Includes meaningful exception message for file system resolution.
Closes gh-33124
(cherry picked from commit daea3f0eae )
1 year ago
Juergen Hoeller
5a83fc8f86
Polishing
2 years ago
Stéphane Nicoll
67686d776e
Fix invalid character in Javadoc of BeanFactory
2 years ago
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 25cedcfb99 )
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 c5a75219ce )
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 c56c304536 )
2 years ago
Juergen Hoeller
f4ac323409
Test for mixed order across bean factory hierarchy
...
See gh-28374
(cherry picked from commit 48f3c08395 )
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
2 years ago
Sam Brannen
30d6ec3398
Update copyright headers
2 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
2 years ago
Sam Brannen
a34f9fa66c
Update copyright headers
2 years ago