Stephane Nicoll
1396daa4b6
Polish "Make sure NoUniqueBeanDefinitionException to be serializable"
...
See gh-29753
1 year ago
Per Lundberg
1b409d5290
Make sure NoUniqueBeanDefinitionException to be serializable
...
See gh-29753
1 year ago
Stephane Nicoll
8efc7a958e
Polish "Improve @Autowired method injection on mixed nullability args"
...
See gh-17215
1 year ago
陈其苗
32c0540424
Improve @Autowired method injection on mixed nullability args
...
See gh-17215
1 year ago
Stephane Nicoll
5878a0741e
Polish "Add factory to create a NamedThreadLocal with an initial value"
...
See gh-24705
1 year ago
Stephane Nicoll
2b76c4d847
Polish "Wrap ternary operator within parentheses"
...
See gh-31076
1 year ago
Juergen Hoeller
8b3ddeed05
Test factory-bean/method placeholders as well
...
See gh-20189
1 year ago
Juergen Hoeller
6baa60d454
Polishing
1 year ago
Juergen Hoeller
9ede1d07a0
Revise multiple beans resolution for custom collection types
...
Closes gh-30022
1 year ago
Sébastien Deleuze
0c477f14cc
Polishing
...
See gh-28638
1 year ago
Sébastien Deleuze
c38f053905
Add Kotlin value classes tests with primitive types
...
This commit adds more Kotlin value classes tests with
primitive types to ensure testing unwrapped use case.
See gh-28638
1 year ago
Sébastien Deleuze
88c2a25f12
Add support for Kotlin value classes in BeanUtils
...
This commit adds support for Kotlin value classes annotated
with @JvmInline to BeanUtils#findPrimaryConstructor.
This is only the first step, more refinements are expected
to be needed to achieve a comprehensive support of Kotlin
values classes in Spring Framework.
Closes gh-28638
1 year ago
Juergen Hoeller
156b3696a7
Reinstate Introspector.flushFromCaches() call for JDK ClassInfo cache
...
Closes gh-27781
1 year ago
Sam Brannen
526fc391ee
Use Class#componentType() for consistency with arrayType()
...
Java 12 introduced java.lang.Class#componentType() as a shortcut for
getComponentType().
Since we started using arrayType() in fe5560400c
, this commit switches
to componentType() for consistent API usage style.
1 year ago
Sam Brannen
fe5560400c
Use Class#arrayType() where feasible
...
Closes gh-31002
1 year ago
Juergen Hoeller
eaf54b54c3
Detect illegal bean definition override during classpath scanning
...
Closes gh-25952
1 year ago
xumengqi
07a1aea9c7
Skip array sort when the length of array not greater than 1
...
Closes gh-30934
1 year ago
Juergen Hoeller
18966d048c
Consistent equals/hashCode style (and related polishing)
1 year ago
Juergen Hoeller
a6ff95a69c
Restore restrictive getTypeForFactoryBeanFromAttributes check
...
See gh-29799
See gh-30987
1 year ago
Juergen Hoeller
7e6612a920
Sort multiple @Autowired methods on same bean class via ASM
...
Closes gh-30359
1 year ago
Juergen Hoeller
9333ed22f6
Avoid repeated FactoryBean targetType check
...
See gh-30987
1 year ago
Juergen Hoeller
4b6fabbd2f
Polishing
1 year ago
Juergen Hoeller
cba2b6eaf4
Check FactoryBean targetType for generic type as well
...
Closes gh-30987
1 year ago
Juergen Hoeller
84b3335e71
Apply array editor to collection of same element type as well
...
Closes gh-24845
1 year ago
Juergen Hoeller
c3e18bc173
Retain metadata during bean creation even with cacheBeanMetadata=false
...
Closes gh-23795
Closes gh-25749
1 year ago
Sam Brannen
2e07a72119
Delete duplicate DummyFactory
1 year ago
Juergen Hoeller
d250a5155a
Consistent dependency declarations
1 year ago
Sam Brannen
4b7d1e3a2c
Delete duplicate DummyFactory
1 year ago
Sam Brannen
44d14811d3
Suppress deprecation warnings in test fixtures
1 year ago
Sam Brannen
89b85c81a7
Polishing
1 year ago
Juergen Hoeller
2d50b758c4
Deprecate applyBeanPostProcessorsBefore/AfterInitialization
...
Closes gh-30974
1 year ago
Sam Brannen
12f765c133
Assert XmlBeanDefinitionReader.setValidationMode() values
...
See gh-30851
1 year ago
Juergen Hoeller
bbde68c49e
Polishing
1 year ago
Juergen Hoeller
fdf1418dfb
Polishing
1 year ago
Juergen Hoeller
4786e2bf53
Introduce PREFERRED_CONSTRUCTORS_ATTRIBUTE on AbstractBeanDefinition
...
Closes gh-30917
1 year ago
Juergen Hoeller
2f33e77ab4
Consistent equals/hashCode style (and related polishing)
1 year ago
Juergen Hoeller
1ac0549881
Polishing
1 year ago
Juergen Hoeller
161a717639
Avoid synchronization for shortcut re-resolution
...
See gh-30883
1 year ago
Sam Brannen
30d6ec3398
Update copyright headers
1 year 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
1 year ago
Sam Brannen
a34f9fa66c
Update copyright headers
1 year ago
Sam Brannen
6f733512b5
Stop using Constants utility in XmlBeanDefinitionReader
...
See gh-30851
1 year ago
Sam Brannen
d6e05ddf2d
Polish XmlBeanDefinitionReaderTests
1 year ago
Sam Brannen
a92bd42236
Stop using Constants utility in PropertyPlaceholderConfigurer
...
See gh-30851
1 year ago
Sam Brannen
cebda46469
Polish PropertyPlaceholderConfigurerTests
1 year 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
1 year ago
Stephane Nicoll
1b09ef5051
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
1 year ago
Juergen Hoeller
c1932dd307
Support for MultiValueMap elements in bean property paths
...
Closes gh-26297
1 year ago
Sam Brannen
68f2b0ca59
Rely on auto-boxing in tests
1 year ago
Juergen Hoeller
c20a2e4763
Support for indexing into any Collection/Iterable
...
Closes gh-907
1 year ago